> I am a little confused on creating and using a session variable in A4D.
>
> Does anybody have any code on creating a session and putting and
> using a session variable in it?
You don't create a variable, per se, but add and read information to and
from the session collection.
The manual is pretty clear about the ways a session is established for any
given client. All the session data resides on the server.
The easiest way to add session information is like this:
session{"user_name"} := "Jason"
Once that is done, accessing it is as simple as:
$user_name := session{"user_name"}
To clear this information call:
delete session item("user_name")
It really is that simple and Active4D makes "sessions" extremely easy to use.
-- Brad
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/