02-21-2003 07:16 AM - edited 03-12-2019 10:46 PM
Hello, I would like to know if it is possible to make a variable that mantains the value when stops the script, I mean, one call is made and this variable starts with value 0 and when the script is run completely the variable has value 3 and when another call is made instead of having the value 0 for the same variable, I would like that this variable has value 3 as this is the last value that the variable had in the last call. This variable behaves as a global variable not a local variable.
Thank you.
Felipe Garcia
02-23-2003 06:54 PM
I do not believe so. The variables are based each session (call). Maybe you could write the value to the registry (not my favorite solution) and keep track of it there.
My .02 cents
02-24-2003 12:59 PM
Terrible of me, you may also write the value to a sql table..
My .02 cents
02-25-2003 04:01 AM
At which registry do i have to save the value? Is it the one of Windows or is another one? And for the sql how do i save it at the database?
Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide