Upon validating the username and password entered against the values stored in a database I wither the current session ID to a a variable as:
Expand|Select|Wrap|Line Numbers
- Session("VSession")
- On each HTTP Request, I check the session for expiration.
- Function ValidateSession() '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- If Session("Vsession") = Nothing then 'Session expired
- Session("State")="Expired"
- Else
- Session("State")="Active"
- end if
- End Function'------------------------------------------------------
But sometimes it is just a matter of seconds and Session("VSession") is Nothing. Rarely will my session variables survive 10 minutes. Any idea would be greatly appreciated. - GrnMtn