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 »

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: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Re: Timeout

Post by davidyin »

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

Re: Timeout

Post by SalvatoreFer »

That works good, thanks sconnelly.
ArchieFreshour
Members
Members
Posts: 1
Joined: Wed Aug 29, 2018 9:56 pm
Contact:

Re: Timeout

Post 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 phenq results with pictures 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.
Last edited by ArchieFreshour on Mon Sep 28, 2020 2:38 pm, edited 1 time in total.
TonyStarki
Newbie
Newbie
Posts: 1
Joined: Thu Jan 31, 2019 4:38 am
Contact:

Re: Timeout

Post by TonyStarki »

That works good, thanks :)
Post Reply