Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ver. 7.6 will not allow me to log out.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ver. 7.6 will not allow me to log out.

 Post Reply Post Reply
Author
redsavior View Drop Down
Newbie
Newbie


Joined: 24 April 2003
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote redsavior Quote  Post ReplyReply Direct Link To This Post Topic: ver. 7.6 will not allow me to log out.
    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

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

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: 10 December 2003 at 9:41am
If you have upgraded from a previous version make sure you have replaced all the files.
Back to Top
redsavior View Drop Down
Newbie
Newbie


Joined: 24 April 2003
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote redsavior Quote  Post ReplyReply Direct Link To This Post 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.

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: 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.
Back to Top
redsavior View Drop Down
Newbie
Newbie


Joined: 24 April 2003
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote redsavior Quote  Post ReplyReply Direct Link To This Post 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.

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