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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capturing session timeouts

Status
Not open for further replies.

AGP

Programmer
Sep 11, 2001
97
GB
Is it possible to capture when a session timeouts within a page and then automatically redirect the user to another page or reset the session.
many thanx.
 
You can check to see if any session variables that should exist are no longer valid.

Example:

If Session(IsLoggedIn) = "true" Then
- other ASP Code here
Else
Response.Redirect "login.asp"
End If cquick@callingpost.com
Geographic Information System (GIS), ASP, some Oracle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top