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
%>
Timeout
Moderator: davidyin
Timeout
Shawn Connelly, PMP
Re: Timeout
Good input.
-
- Newbie
- Posts: 1
- Joined: Wed Nov 15, 2017 2:03 am
Re: Timeout
That works good, thanks sconnelly.
-
- Members
- Posts: 1
- Joined: Wed Aug 29, 2018 9:56 pm
- Contact:
Re: Timeout
Thanks for the code snippet. This is a lifesaver for me as I was also facing the cookie expiration problem.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
%>
Last edited by ArchieFreshour on Mon Sep 28, 2020 2:38 pm, edited 1 time in total.
-
- Newbie
- Posts: 1
- Joined: Thu Jan 31, 2019 4:38 am
- Contact:
Re: Timeout
That works good, thanks