Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Users Not Able To Log On: Likely Cookie Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Users Not Able To Log On: Likely Cookie Issue

 Post Reply Post Reply Page  12>
Author
aloha55 View Drop Down
Newbie
Newbie


Joined: 07 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote aloha55 Quote  Post ReplyReply Direct Link To This Post Topic: Users Not Able To Log On: Likely Cookie Issue
    Posted: 07 October 2008 at 5:23pm
I have had an inordinate number of users that have problems staying logged on. They are able to log on but then when they try to post they are kicked back to the logon screen. I have done some investigating through screen-sharing and discovered that:

1) a SessionID is added to all URLs
2) They are using IE
3) They have some sort of Toolbar or AV/Security suite installed

An ideas on how to resolve this?
Back to Top
aloha55 View Drop Down
Newbie
Newbie


Joined: 07 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote aloha55 Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2008 at 5:30pm
From the includes/setup_options_inc.asp file, I uncommented the following line.

strCookiePath = "/" 'Uncomment this line if your forum has issues with cookies

Other notes: I am using the forum in a frames situation. There is a top and side navigation frame and the WWF forum is in the main frame.

Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2008 at 5:38pm
If a session ID or SID number is being added in this is almost a certainly a cookie issue. I personally use Firefox, but have noticed something similar on Internet Explorer 7 myself. I'm sure however there is a fix to this and someone may know where the answer lies
Back to Top
aloha55 View Drop Down
Newbie
Newbie


Joined: 07 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote aloha55 Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2008 at 5:49pm
Yes, the SID is being added for the problem users.

The forum is located here: wwwroot/forum/

Should my cookie path be /forum/  ?
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2008 at 5:58pm
No that is not the issue - the wwwroot folder contains the right path, since anything above the wwwroot should not be visible to the browser

Would you like to give us your forum address or PM me so I can see what you see
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: 08 October 2008 at 8:03am
If it were a server issue with the way cookies are set then all users would see an SID number in the address bar.

As this only affects some users, then these users who see the SID number in their address bar do not have cookies enabled on their web browser, or they have security software on their computers that block cookies.

If they do not want to change their security settings then you should get them to whitelist your site so that cookies can be used.
Back to Top
aloha55 View Drop Down
Newbie
Newbie


Joined: 07 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote aloha55 Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2008 at 12:12pm
Bruce:

Thank you kindly for the answer.

Why are cookies required for WWF logons? Can't the SID be used for session tracking? If not, then why even have a SID appended to the URLs?
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: 08 October 2008 at 12:39pm
Cookies are not required for logins although they do help.

Those without cookies enabled will be tracked by sessions, however, if like in your case they are being logged out then it indicates an issue with the server holding sessions and points to issues like the application pool on the server recycling.

You should contact your web host about this and ask them to look into why sessions are not being held on the server.

If you don't have any luck with your web host you can enter the file includes/setup_options_inc.asp and set it so that sessions are held in the database instread, howver this does place extra load on the database and does effect performance.
Back to Top
 Post Reply Post Reply Page  12>

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.