Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Can't Logout - Set Cookie To: WebSite
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Synapse
Starting Member

27 Posts

Posted - 15 July 2004 :  22:13:27  Show Profile
In my attempt to figure out just how this option works and what it is used for, I set the following feature/option:

Main Forum Configuration
Set Cookie To: Website

The help for this option states the following:

Set Cookie To...
You can tell your forum to set it's cookie to either the forum, or the base website. You would set it to the forum if you were hosting multiple forums on the same server or the same domain, and they each had different user communities, otherwise you want this feature set to Website and NOT Forum.


This is the only forum I have planned for my domain, which happens to be ‘eq2.tspwebs.net’. For this reason I set it to ‘Website’.

As soon as I set this option I am unable to logout of the forums. I click on ‘Logout’ and get the message “You logged out successfully!”. However, when it forwards me back to the page I was on...or when I click ‘Back to forum’ I am still logged in.

Edited by - Synapse on 15 July 2004 22:17:43

Synapse
Starting Member

27 Posts

Posted - 15 July 2004 :  22:17:09  Show Profile
FYI...this is a fresh install of 3.4.04 with no mods. This was the first thing I attempted to do with this new install.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 15 July 2004 :  23:17:35  Show Profile  Visit Gremlin's Homepage
Have you tried deleting all your cookies and then restarting your browser and trying it again?

What the option does is simply to control the .Path used to save the cookies. If its set to forum then the path is /forum if website then it's set to / In theory what it should do is make the cookies available to all of your website when set that way, in practice I've always had a few problems with it myself and have just hardcoded the "/" in the config.asp file.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 15 July 2004 23:18:08
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 16 July 2004 :  03:52:37  Show Profile
I had this problem myself when I upgraded my entire site to ASP and set the cookies to website. What happened was, because the old cookie (set to forums) still existed, when the website cookie was "destroyed" by logging out the forum would read the old cookie effectively making it impossible to log out. The two things you can do are:

1) As Gremlin suggested, delete the old cookie. Problem is, if you're going to retain this setting, your visitors will still have the old cookie on their machines.

2) A better solution would be to edit config.asp manually to change the name of the cookie your forums use. However, this means that all your visitors will have to login again.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Synapse
Starting Member

27 Posts

Posted - 16 July 2004 :  12:08:22  Show Profile
That worked...thanks guys.

Edited by - Synapse on 16 July 2004 12:29:20
Go to Top of Page

HooH
Starting Member

37 Posts

Posted - 24 October 2004 :  10:42:06  Show Profile
Where in the config.asp can I find the cookie name??
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 24 October 2004 :  23:16:25  Show Profile  Visit Gremlin's Homepage
Cookies aren't actually set from config.asp they're set from various other pages in the forum.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.62 seconds. Powered By: Snitz Forums 2000 Version 3.4.07