After the authentication process I stored the login flags using session variables to check when a user its logged or not but between pages doing from submit or response.redirect, the script kicks out the users. I use on the top of each page: If Session("logged") <> Yes Then Response.Redirect("default.asp") End If but sometimes this occurs I had put already the timeout to 2 hours and that doesnt fix the problem. Anyone knows what could be?
What does it do if Session("logged") = yes? Also Shouldn't this be: If Session("logged") <> "Yes" Then Response.Redirect("default.asp") End If
If Session("logged") <> "Yes" Then Response.Redirect("default.asp") Code (markup): That's all you should need.