"global" variables

  • Thread starter Thread starter Sir Psycho
  • Start date Start date
S

Sir Psycho

Is there a way to set a global variable without using the Session
object?

I basically want to be able to track if a visitor is logged in without
starting a Session. Is there such a thing as a global variable that
stays alive?
 
hi Sir

Session is only global to a user only

i do not know the expert way, but i'd use hashtable in Cache

if cache("users") is nothing then
cache("users") = new hashtable
end if

if cache("users")("calvin") is nothing then
'not logged on
else
'logged on
end if
 
Back
Top