<%Response.Buffer = True
' If the session has expired then force the user to re-login
Call checkSession
Function checkSession()
If NOT Session("loggedIn" = "1" Then
Response.Redirect("login.asp"
End If
End Function
%>
With the above statements, on every page, I check whether the session is still available or not. If it has expired then I force the user to re-login. For this I have a login screen which accepts the user name and password. Everything works fine. But on a couple of systems I encountered a problem where the session variables does not get registered. How can I ensure that the session variables are written to the client.
The client system has IE 5.5 installed. For that I selected Tools->Internet Options->Security->Local Intranet->Custom Level->Cookies->Allow cookies that are stored on your computer-Enable->Enable per session cookies(not stored)-Enable.
Is there an other way to do that.
thanks in advance.
' If the session has expired then force the user to re-login
Call checkSession
Function checkSession()
If NOT Session("loggedIn" = "1" Then
Response.Redirect("login.asp"
End If
End Function
%>
With the above statements, on every page, I check whether the session is still available or not. If it has expired then I force the user to re-login. For this I have a login screen which accepts the user name and password. Everything works fine. But on a couple of systems I encountered a problem where the session variables does not get registered. How can I ensure that the session variables are written to the client.
The client system has IE 5.5 installed. For that I selected Tools->Internet Options->Security->Local Intranet->Custom Level->Cookies->Allow cookies that are stored on your computer-Enable->Enable per session cookies(not stored)-Enable.
Is there an other way to do that.
thanks in advance.