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 Posted: 08 October 2008 at 1:04pm
Bruce:

I am the server administrator. While we do have some occasional application pool recycling issues, but they are unrelated to this issue.

The server has relatively low usage. How much does it effect performance and why? If sessions are tracked in the database, wouldn't it require only one additional hit to the database to verify the user? Using one global (page level) variable could be used for this purpose.

Wouldn't there be a way to check for cookies being enabled? My original problem is that WWF allows users to use the Log On screen (and show that they are logged on on the next page), but any subsequent page accesses aren't happening as a logged on user.

Would it be possible for the logon to use an intermediary page where it tries to access a cookie set on the logon submisssion page? If the intermediary page found a cookie then it would continue as normal, otherwise show a "Cookies must be enabled error".

Alternatively, try to set a cookie on every page. Then when the user submits their forum login details it would look for that cookie. If it didn't find it on the page where the logon credentials where posted to, then it would show the "Cookies must be enabled error".

I am looking for a solution that is more helpful to the end users. Rather than just having the user "kicked back to the login screen", displaying a message about needing to enable cookies would be more helpful to them.

Thoughts?
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 1:13pm
Having sessions saved in the database does effect performance as writing to a database does use allot more resources than just reading and with multiple session updates on many of the pages it does effect performance.

Web Wiz Forums does check that cookies are working after you login just as you mention, which is why after logging in you get the redirect page which shows if you are logged in before being redirected. If an issue exists with cookies or sessions it informs you here. However as users are then kicked later it suggests intermittent session issue with the server that keep getting dropped.

Because of this very few people have login issues whether they have cookies enabled or not and it is very rare that people like yourself complain about cookie issues.

This suggests some type of setup or configuration issue with your installation, either within the forums software or on the server.

Any application pool recycling is not good as sessions are dropped when the application pool recycles. If you have recycling issues on the server place web wiz forums in it's own application pool and set it to recycle once a day in the early hours of the morning. You should also not use multiple worker processes for application pools as sessions can not be passed between the worker processes.

If load balanced web servers or multiple worker processes are used then the only way to hold the session is to store the session in the database.

If you have a support contract with us then you should open a support ticket from your client area account giving URL, forum, and database login details so that we can have some investigate the issue fully.


Edited by WebWiz-Bruce - 08 October 2008 at 1:25pm
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.