Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking Session Variables

Status
Not open for further replies.

roy29

Instructor
Jun 12, 2000
17
US
Does anyone know how I can check to see if a session variable has expired? I'm trying to check and see if the session variable has expired, if it has then I want to run an SQL statement to get the user's security level from the database and create the session variable again.

I'm also looking for the web address for the self extracting VB Script documentation that you can load on your PC.

Thanks in advance.
 
Well, i think all variables of an expired session would be found to be equal to "". So if you have set it to a number representing a security level, try to just check if the variable still holds a number.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top