Print Page | Close Window

Message Deleted

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=23844
Printed Date: 07 April 2026 at 5:47am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Message Deleted
Posted By: brianmisty
Subject: Message Deleted
Date Posted: 19 July 2007 at 4:15pm
I just posted an issue I was having regarding the Quick login field throwing an error and the message just dissappeard about a minute later. 
My post was that I am getting an error with Beta 1 and 2 with the Quick login that I do not get with the main login page...
 
Error: Un-Successful Login
Your login was un-successful due to a session tracking error.

Please ensure that cookies are enabled on your web browser and you are not hiding or masking your IP address.
 
IE7 and Firefox 2, with cookies enabled.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 4:34pm
Do you have a link to this to see this issue?

-------------
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: brianmisty
Date Posted: 19 July 2007 at 4:55pm

http://www.nfaonline.org/forum/ - http://www.nfaonline.org/forum/

username: 12217
password: test


Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 5:05pm
The problem looks like for some reason cookies are not working for your site.

If you are using domain masking, dynamic DNS, et this can prevent your site from working correctly with cookies.


-------------
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: brianmisty
Date Posted: 19 July 2007 at 5:10pm
We've no had an issue with cookies before.  Also, we are able to login using the main login page, just not the quick login.  Seems like something else is going on here to me.


Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 5:15pm
Try opening the file includes/setup_options_inc.asp and chnage line 46 from:-

strCookiePath = Left(Request.ServerVariables("URL"), InstrRev(Request.ServerVariables("URL"), "/"))

To:

strCookiePath = Left(Request.ServerVariables("SCRIPT_NAME"), InstrRev(Request.ServerVariables("SCRIPT_NAME"), "/"))

Looks like at present the way your web host has the server setup the first way is returning an incorrect URL for the cookie path with nfaonline_org/forum/ instead of /forum/


-------------
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: WebWiz-Bruce
Date Posted: 19 July 2007 at 5:22pm
Actually try the following it should work better:-

strCookiePath = Left(Request.ServerVariables("HTTP_URL"), InstrRev(Request.ServerVariables("HTTP_URL"), "/"))

If you could let me know which one works for you it would be much appreciated and should be able to add it to the final release to prevent others having the same issue


-------------
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: WebWiz-Bruce
Date Posted: 19 July 2007 at 7:42pm
Did you have any luck with any of the items above on your site so that it correctly sets the cookie?

-------------
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: brianmisty
Date Posted: 19 July 2007 at 8:16pm

Unfortunately, neither solution made any difference.  I tried both changes and the result was the same as before.

I decided to try a complete, fresh reinstall, but that didn't work either.  I have noticed some issues that may shed more light on this... 
 
1. I cannot login with Quick login, under any circumstances.  I am immediately taken to the "Login_user_test.asp" page with error...
 
Error: Un-Successful Login
Your login was un-successful due to a session tracking error.

Please ensure that cookies are enabled on your web browser and you are not hiding or masking your IP address.
 
 
2. When using the main login page to login,  I am taken to a page that says that I am logged in (Login_user_test.asp)... then within 2 seconds, redirected to a page where I am no longer logged in ("default.asp").  During this process, if I click on "Memberlist" before the redirection script kicks in (got to be quick), I can go to the memberlist page, and then can stay logged in.
 
3. Lastly, if I register as a new user (which is now enabled and you can test this), the user is logged in without any problem.
 
Strange issues... something seems to be happening to the cookie after the redirection.  I hope this helps.  Feel free to login and test as needed.
 
 


Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 8:30pm
The problem is because of the way your site is setup it's returning the URL as:-

nfaonline_org/forum/

when it should be:-

/forum/

This then incorrectly sets the path for the cookie which courses the cookie to fail.

Do you know how the site is setup in IIS? Is it setup as a virtual site or something along those lines so that we can replicate it in the lab and find a solution.


-------------
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: brianmisty
Date Posted: 19 July 2007 at 9:46pm
As a test, I copied the fourm files to my dedicated server, and the forum worked without a problem in that location, so I agree that the hosted account that is the issue.
 
The site is on a Maximumasp Shared account and uses a product they call "Virtual Director" to manage the various site domains and folders.  I know it is an ISAPI filter, but to my knowledge, there is no documentation for it. 
 
If you are willing to look into this further to find a fix, I can set you up with a test forum with ftp access.  Just contact me off-board. I would really appreicate it if you did.
 


Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 11:18pm
That will be the problem the ISAPI filter will be re-writing the URL, which means there is nothing that can be done to fix this to automatically generate the cookie path.

Luckily such ISAPI filters are very rare which is why just incase the cookie path option was placed into the includes/setup_options_inc.asp file.

What you would need to do is replace the variable with the manual path for the cookie, in your case it would be:-

strCookiePath = "/forum/"




-------------
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: brianmisty
Date Posted: 19 July 2007 at 11:36pm
I really apprecaite the help, and I am glad theirs a solution.  The cookie path you stated solved the problem.


Posted By: WebWiz-Bruce
Date Posted: 19 July 2007 at 11:43pm
Just a shame it can't automatically set the path, but at least not to many people would be using such an ISAPI filter so hopefully not to many people will have the same situation.

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