Forums

This topic is locked

session variables

Posted 11 Jul 2001 15:12:52
1
has voted
11 Jul 2001 15:12:52 jon badda posted:
'lo again.

can anyone point me towards some literature on what are and how to create and use session variables. Its a bit vague thus far.

(ps.UDzone, should i have to be finding other sites for this type of information, when im right here? - friendly helper )

Replies

Replied 11 Jul 2001 21:30:05
11 Jul 2001 21:30:05 Joel Martinez replied:
well, that would depend on what server language you're using... if it's ASP/vbs, then using a session variable is as simple as this,
-----------
session("somevar" = true

response.write session("somevar"
------------

of course, when you set the value (in this case to true) that value will be available from any other page as long as the session is active (which is about 20 mins by default)

in other server langs, the syntax may change a bit, but the usage stays the same.

Joel Martinez

----------
Is this thing on?....

Reply to this topic