Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: setsessionvar gotcha

$
0
0
Re: setsessionvar gotcha
Web Connection
Re: setsessionvar gotcha
Jan. 9, 2013
10:09 pm
3OS1BHLSIShow this entire thread in new window
Gratar Image based on email address
From:Tuvia Vinitsky
To:Thierry Nivelet (FoxInCloud)
awesome function. I was halfway thru writing something similar to use setsessiojvar for non strings.

Why can't you use this to solve your issue of saving and restoring the _screen properties?

What functions in abtxt put the array or object together again, EVAL will not do that.


with FIC you can use
Session.setSessionVal('myDate', cLitteral(date())) && or dateTime() myDate = Evaluate(Session.getSessionVar('myDate'))

I should have realized this, so in case anyone tries this:

x=date()
y=dtoc(x)
session.setsessionvar("mydate", y)

Y has slashes in it, and since setsessionvar ises XML, it will not save the string value correctly.



Viewing all articles
Browse latest Browse all 10393

Trending Articles