[albatross-users] Getting things *out* of session_vars?

Michael C. Neel neel at mediapulse.com
Wed Apr 23 07:22:44 EST 2003


Are you etting up a cxt.locals member befor adding to the session?

ie first
ctx.local.var = "test"
 then...
ctx.add_session_vars("var")

mike

-----Original Message-----
From: VanL [mailto:vlindberg at verio.net] 
Sent: Tuesday, April 22, 2003 2:03 PM
To: albatross-users at object-craft.com.au
Subject: [albatross-users] Getting things *out* of session_vars?


Hello,

I am using sentinel values in my session_vars to check that a user has 
both completed a required form and that the user hasn't done something 
silly, like press back.

I am dutifully adding these values to session_vars, but when I test from

them on the next page, I can't find them and I am redirected back.  I 
think that I am looking in the wrong place.

I am looking in ctx.locals.   Is there another place that I should be 
looing for saved variables? ctx.session, perhaps?

Thanks,

VanL

_______________________________________________
Albatross-users mailing list Albatross-users at object-craft.com.au
https://www.object-craft.com.au/cgi-bin/mailman/listinfo/albatross-users



More information about the Albatross-users mailing list