Print Page | Close Window

Login cookie expiry? problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11779
Printed Date: 09 April 2026 at 5:04am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Login cookie expiry? problem
Posted By: StuckInTheMud
Subject: Login cookie expiry? problem
Date Posted: 13 September 2004 at 5:45am

- WWF v7.8
- Access database

I'm having problems with the browser loosing the login cookie after about 24 hours.

Does not matter which browser (IE, Netscape or Opera).

It appears to be set for an expiry date 1 year ahead, but is disappearing from the machine.

Happens on two different forums, on different hostings.

Any suggestions gratefully received!

 

Jim




Replies:
Posted By: WebWiz-Bruce
Date Posted: 13 September 2004 at 10:58am
Check the date and year on the server are correct and your own machine.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: StuckInTheMud
Date Posted: 17 September 2004 at 4:08am

Yup, correct.

One is a few minutes out, the other correct.



Posted By: WebWiz-Bruce
Date Posted: 17 September 2004 at 4:16am
Then I don't know why your system is deleting the cookies.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: dpyers
Date Posted: 17 September 2004 at 12:39pm
Some software firewalls have options to clean up cookies, temp files, etc. Check your scheduler, firewalls, AV programs, uncommon browsers, etc.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: theSCIENTIST
Date Posted: 18 September 2004 at 5:49am

Yeah, if the cookie is disapearing, then someone or something is deleting them, check all background processes, specially those with automated cleaning capabilities.

Run this code in your web site to see all cookies created by it:


<%
For Each strKey In Request.Cookies
  Response.Write "<B>" & strKey & "</B>" & " = " & Request.Cookies(strKey) & "<BR>"
  If Request.Cookies(strKey).HasKeys Then
    For Each strSubKey In Request.Cookies(strKey)
      Response.Write ">&raquo; " & strKey & "(" & strSubKey & ") = " & _
      Request.Cookies(strKey)(strSubKey) & "<BR>"
    Next
  End If
Next
%>

Good luck.



Posted By: StuckInTheMud
Date Posted: 27 September 2004 at 4:53am

OK, I think I've bottomed the problem, but don't know if there is a solution.

The cookie is not being deleted, but the UID in the cookie is sometimes different from the tblAuthor User_code, which causes the board to assume I'm not logged in.

I think this is related to logging into the forum from two different PC's (work and home) as it seems to create a new User_code every time you sign in.

Apart from the obvious one of changing the code so the User_code is static (not sure why it has to change anyway?), is there another way to get round this?

Thanks for the help so far.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net