Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Login cookie expiry? problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Login cookie expiry? problem

 Post Reply Post Reply
Author
StuckInTheMud View Drop Down
Newbie
Newbie


Joined: 01 July 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote StuckInTheMud Quote  Post ReplyReply Direct Link To This Post Topic: Login cookie expiry? problem
    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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 September 2004 at 10:58am
Check the date and year on the server are correct and your own machine.
Back to Top
StuckInTheMud View Drop Down
Newbie
Newbie


Joined: 01 July 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote StuckInTheMud Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2004 at 4:08am

Yup, correct.

One is a few minutes out, the other correct.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2004 at 4:16am
Then I don't know why your system is deleting the cookies.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
StuckInTheMud View Drop Down
Newbie
Newbie


Joined: 01 July 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote StuckInTheMud Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.