Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Session Error????
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Session Error????

 Post Reply Post Reply
Author
bknight View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2008
Location: Seattle, WA
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote bknight Quote  Post ReplyReply Direct Link To This Post Topic: Session Error????
    Posted: 16 January 2008 at 4:36am
Okay, here is the sench, we are using our own websites login to log our members into the forum. In the beginning we had some issues with fully intergrating the forum wiulk our website; but this has since been resolved.
 
For the past few days everything has been working crystal; however, when I checked the site out this morning, I noticed that the forum was once again behaving as it was.
 
THE ISSUE:
 
The Member API has been properly set, and the session variables have been created and set to the users detail. This information IS NOT lost between the switch over from our website to the forum, and they are both on the same domain. The sessionID does not change, and the timeout is set for 4 hours and also does not change in the switch.
 
When you first click on the "Forum" link after loggin into our site, you are logged in and can navigate as any 'member' can, but when you click on the "Home" link on our navigation menu and then return to the forum or click on the "Forum" link instead of the "Forum Home" link in the forum itself, you are logged out and appear as a guest.
 
The Session variables  are still set, and the sessionID have not changed.
 
The "forum" link in our menu ponts (now) directly to the forums "default.asp" file. and the "home" link points to our homepage. There are no commands to clear the session variables, nor does it appear to lose said variables. It is as if the forum itself is not regrabbing those variables each time the page loads from an 'off-forum' link.
 
I don't know how this issue re-arose after being fixed, and I, for the life of me, cannot figure out what's currently causing the issue.
 
My recent changes to the main website include changing a admin status over from a cookie to a session variable (now changed back), and setting folder write permissions on a onsite radio playlist directory, as well as the forums 'upload' directory.
 
I have disabled all buffer clearing functions, from my site, deleted all other session variables settings (except those se at the time of log in), and have tried both re-enabling the buffer settings in the 'default.asp' file and disabling the buffer settings, but have not had any luck.
 
HELP!!!! Ouch
 
 
 
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: 16 January 2008 at 9:12am
If you are seeing an SID number in the URL as you navigate around the forum it means that cookies are not working for your forum, which can course issues like you mention with staying logged in.

To try and fix the cookie issue, edit in notepad the file includes/setup_options.asp and you should see where you can make cookie changes.

Also make sure that the forum is not running in it's own virtual directory as this can effect session variables.

Make sure that the links stay the same www.yourdoain.com and yourdomain.com without the www. part are seen as two different sites and will prevent cookies and sesisons from working.
Back to Top
bknight View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2008
Location: Seattle, WA
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote bknight Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2008 at 11:06am
Thanks for the response, but it seems that somehow, don't know how exactly, I fixed the issue I was having.
 
However, now when members sign off the site, the forum still shows them online.
 
Any ideas?
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: 16 January 2008 at 11:11am
This is because HTTP is a stateless protocol there is no way to tell if a person has left a web site is is mearly reading through a page.

To get round this you create sessions to track users which usually timeout after a certain period.

This is how Web Wiz Forums works, it creates a session for the user which is dropped after 20 minutes of inactivity. For this reason users can be shown as online 20 minutes after they have stopped browsing the forums.
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.