View Single Post
Old February 15th, 2008, 07:06 PM   #3 (permalink)
Olafsson
Junior Member
Verified Customer
 
Join Date: Feb 2008
Posts: 6
Question setting cookie path

Quote:
Originally Posted by Chuck S View Post
Your cookies in both products will need to be set like this as your using subdomains and you will never be logged in if your setting the domain blank since the domains are different and the cookie would be created as forum.brianmahieu.com and that cookie would never be read over gallery.brianmahieu.com

cookie path /

cookie prefix phpbb2mysql

cookie domain .brianmahieu.com
Chuck, Thank you for the speedy answer.
So, you are saying that it is possible to toggle back and forth between the forum and gallery if I set the cookie path correctly? (phpbb was telling me I'd probably have to make the gallery a subdomain of the forum, but that would wreck hundreds of links already in place in forum posts...so I don't want to do that)

can you direct me to a resource that will explain how I alter the cookie path etc. in the gallery? For the forum, I'm guessing I would use the auto cookie mod again and enter this info:

cookie path /

cookie prefix phpbb2mysql

cookie domain .brianmahieu.com

thanks in advance, Brian
Olafsson is offline   Reply With Quote