My users are saying that as they go from page to page in our website, every 'once in a while', they get kicked back to the login page. They should not, and I don't know why this is happening.
I have a login page where I set a session variable upone successful login:
If UserName = CorrectUserName and Password = CorrectPassword then
Session("login") = "true"
response.Redirect("default
.asp?page=
66")
else
response.Redirect("login.a
sp")
end if
Once the user is logged on, every page checked the variable with the following code:
If Session("login") <> "true" then
Server.Transfer("login.asp
")
End if
Why would they get kicked back? I know that this times out after 20 minutes, but these users are getting kicked out as they go from screen to screen.