Page 1 of 1

Timeout

Posted: Fri Nov 07, 2008 8:58 am
by sconnelly
I've been experiencing an issue where an administrator goes the the administration page and updates a user, leaving the page up. After a period of time, maybe 5-10 minutes, returns to the home page. The page appears without any skin treatment and no user information. It appears that the cookie with the login information has expired.

To resolve the issue, I added the following code to the default.asp page:

<%
if logname = "" then
Response.Redirect "login.asp"
end if
%>

Re: Timeout

Posted: Mon Nov 17, 2008 8:31 pm
by davidyin
Good input.

Re: Timeout

Posted: Fri Nov 17, 2017 5:22 am
by SalvatoreFer
That works good, thanks sconnelly.

Re: Timeout

Posted: Wed Aug 29, 2018 10:02 pm
by ArchieFreshour
sconnelly wrote:
Fri Nov 07, 2008 8:58 am
I've been experiencing an issue where an administrator goes the the administration page and updates a user, leaving the page up. After a period of time, maybe 5-10 minutes, returns to the home page. The page appears without the testogen gear any skin treatment and no user information. It appears that the cookie with the login information has expired.

To resolve the issue, I added the following code to the default.asp page:

<%
if logname = "" then
Response.Redirect "login.asp"
end if
%>
Thanks for the code snippet. This is a lifesaver for me as I was also facing the cookie expiration problem.

Re: Timeout

Posted: Thu Jan 31, 2019 4:42 am
by TonyStarki
That works good, thanks :)