PDA

View Full Version : Cookie path



iJoe
13-05-2008, 04:36 PM
Hey

I'm currently integrating a mybb with my site and am having problems logging out.

The forum is in domain.com/forum

the site is in domain.com/site

the cookie path is set to domain.com/site as the forum is shown in an iframe in the style when selected on the navigation.

When i log in, either using the forum or the login form, i cant log out again :l

Should i move the forum directory into the site folder so then it will all be under /site

Thanks to all help :)

Please don't ask the site, it's not open yet, probly never will be, its just somethin for me to do :P but I want it to work

Jack!
16-05-2008, 06:40 AM
If you put the forum folder under the /site folder it may work..but i would reccomend to simply get to link for ''Log-Out'' and say ''Log-Out Of Forum'' then there

Gd Luk

Trigs
17-05-2008, 03:21 AM
Set the cookie path to /
Also, you need to close the browser to complete the logout.

Want to hide these adverts? Register an account for free!