Author |
Topic  |
|
rory
Starting Member
12 Posts |
Posted - 27 July 2004 : 21:14:18
|
I've seen references several places to setting cookies to either Website or Forum. But I can't get a good grasp on why I should choose either. Can anyone clarify?
Problem I'm having is that when people "Log Out" of my members-only site, they remain logged into the forums. However, if they "Log Out" of forums, it logs them out of the members-only site.
I'm using my own members db, with a fix that automatically logs people into Snitz every time they log into the main site. If they are not logged into the main site, then I don't want them to be able to manually type the url for forums and see it with the non-registered view. I tried making "registration required" in the admin, but then they end up at a separate forums login page, which I also don't want. Can I over-ride this?
Thanks |
|
Jezmeister
Senior Member
   
United Kingdom
1141 Posts |
Posted - 28 July 2004 : 17:23:41
|
Your problem won't be fixed by changing that. Brief explanation on the cookies: Website: Sets cookies for the whole site - needs to be set as this if you intend to use the login for the whole (sub)domain, and do not have another forum in the same (sub)domain using a different members table. Forum: Sets cookies only for the forum directory - needs to be set as this if you have multiple forums on the same (sub)domain. |
 |
|
rory
Starting Member
12 Posts |
Posted - 29 July 2004 : 11:42:02
|
Thanks for the clarification. I won't have another forum on this domain. I've seen a lot of code in the cookies sections that seems to be adding a unique identifier to cookies: Response.Cookies(strUniqueID & "User").Path - however, I made a test page to view all my session and application cookies, and I can't see any cookies with this name.
quote: Originally posted by Jezmeister
Your problem won't be fixed by changing that. Brief explanation on the cookies: Website: Sets cookies for the whole site - needs to be set as this if you intend to use the login for the whole (sub)domain, and do not have another forum in the same (sub)domain using a different members table. Forum: Sets cookies only for the forum directory - needs to be set as this if you have multiple forums on the same (sub)domain.
|
 |
|
|
Topic  |
|