Print Page | Close Window

ver. 7.6 will not allow me to log out.

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


Topic: ver. 7.6 will not allow me to log out.
Posted By: redsavior
Subject: ver. 7.6 will not allow me to log out.
Date Posted: 10 December 2003 at 8:44am

Hey,

I'm getting "false" log offs now. The login problem I had with 7.01 is fixed, but now I cannot log a user off. Here's the test URL: http://www.tastyfresh.com/forum-new/default.asp - http://www.tastyfresh.com/forum-new/default.asp

any ideas? Feel free to create an account and test it.




Replies:
Posted By: WebWiz-Bruce
Date Posted: 10 December 2003 at 9:41am
If you have upgraded from a previous version make sure you have replaced all the files.

-------------
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: redsavior
Date Posted: 10 December 2003 at 9:57am

nevermind. Actually, I forgot...I did have to modify some files to include:

Response.Cookies.Item( strCookieName ).Path = "/"
Response.Cookies.Item( strCookieName ).Domain = Request.ServerVariables( "HTTP_HOST" )

so login user has this:

Originally posted by login_user.asp login_user.asp wrote:

   'Write a cookie with the User ID number so the user logged in throughout the forum
   'Write the cookie with the name Forum containing the value UserID number
   Response.Cookies(strCookieName)("UID") = strUserCode
   Response.Cookies.Item( strCookieName ).Path = "/"
   Response.Cookies.Item( strCookieName ).Domain = Request.ServerVariables( "HTTP_HOST" )   
   If CBool(Request.Form("ActiveUsers")) = False Then

and logout_user says:

Originally posted by log_off_user.asp log_off_user.asp wrote:

'Clear the forum cookie on the users system so the user is no longer logged in
Response.Cookies(strCookieName) = ""
Response.Cookies.Item( strCookieName ).Path = "/"
Response.Cookies.Item( strCookieName ).Domain = Request.ServerVariables( "HTTP_HOST" )   
Response.Cookies(strCookieName)("UID") = strLoggedInUsername & "LOGGED-OFF"
Response.Cookies("TS") = ""
Response.Cookies("LPM") = ""
Session("ViRead") = ""

Without this modification, the boards won't work on my server. I thought this was a bug that was going to be fixed back in 7.5.



Posted By: WebWiz-Bruce
Date Posted: 31 December 2003 at 8:36am
This is not a bug that needs to be fixed in the forum, as this may work for you on your site, but in tests it was found that your solution actually stops cookies from working on the majourity of sites and stops cookies from working in Mozilla.

-------------
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: redsavior
Date Posted: 31 December 2003 at 9:14am

well, alrighty then

Glad you checked that out. Guess my ISP is kinda screwy. At least on my ISP Mozilla doesn't seem to have a problem. Was there a particular platform or version of Mozilla? I may have another issue I don't know about, but I do know that I have both mac and linux users who use mozilla and can access the site just fine.



Posted By: WebWiz-Bruce
Date Posted: 31 December 2003 at 11:45am
I found problems with Mozilla Firebird 0.7 and some others reported problems on this site with it when I tried your suggestion, I also had problems on my local XP pro machine when testing in IE, using virtual directories for the 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



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