Timeout

Problems not covered by any other forum topic.

Moderator: davidyin

Post Reply
User avatar
sconnelly
Members
Members
Posts: 2
Joined: Wed Nov 05, 2008 9:24 am
Location: Centennial, CO
Contact:

Timeout

Post by sconnelly » 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 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
%>
Shawn Connelly, PMP

User avatar
davidyin
Members
Members
Posts: 181
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Re: Timeout

Post by davidyin » Mon Nov 17, 2008 8:31 pm

Good input.

SalvatoreFer
Newbie
Newbie
Posts: 1
Joined: Wed Nov 15, 2017 2:03 am

Re: Timeout

Post by SalvatoreFer » Fri Nov 17, 2017 5:22 am

That works good, thanks sconnelly.

ArchieFreshour
Members
Members
Posts: 1
Joined: Wed Aug 29, 2018 9:56 pm

Re: Timeout

Post by ArchieFreshour » Wed Aug 29, 2018 10:02 pm

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.

TonyStarki
Newbie
Newbie
Posts: 1
Joined: Thu Jan 31, 2019 4:38 am
Contact:

Re: Timeout

Post by TonyStarki » Thu Jan 31, 2019 4:42 am

That works good, thanks :)

Post Reply