Print Page | Close Window

Session Error????

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=25160
Printed Date: 29 March 2026 at 3:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Session Error????
Posted By: bknight
Subject: Session Error????
Date 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
 
 
 



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
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: bknight
Date 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?


Posted By: WebWiz-Bruce
Date 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.


-------------
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



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