"Explain it to me like I'm 6-year-old", lol.
I swear I read the manual several times as well as spent a lot of time searching for this answer in this forum. But I still can't get it to work. Truth is, I am a novice in vortex scripting, but this thing SHOULD be easy... it's a "bread and butter" of any fairly serious website, right?
So here is what I'm trying to accomplish:
pass one variable (it's value) from one script to the next.
Simple enough? And I don't want to do it within query string, or encoded into url, so the answer I'm looking for should be in <EXPORT ... TABLE> I guess.
Here is what I have in script1:
<EXPORT $neededlater TABLE>
...
<$neededlater="Remember This!">
...
<a href="/scripts/texis.exe/script2">Go There</a>
...
Here is what I have in script2:
...
Passed from previous: $neededlater<BR>
...
The value of $neededlater, needless to say, was not preserved. Here is what I tried:
1) to "print" the $url in script1; I put
<capture>$url</capture>
AFTER the $neededlater was set.
2) to include the same <EXPORT> statement at the beginning of script2
3) to "print" $url in script2; I put
<capture>$url</capture>
BEFORE the $neededlater was accessed
4) to do this:
<SQL ROW "select Name, Value from vars">
<setvar $Name $Value>
</SQL>
AFTER "printing" $url and BEFORE accessing $neededlater
What did work:
*NOTHING*
Any help will be appreciated, thanks