Page 1 of 2

Cookie problem - expiring repeatedly

Posted: 30. September 2008 11:06
by Brogan
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge

What have you done before the problem was there?
Movet the portal to the domain root

What have you already tryed to solve the problem?
Nothing

Description and Message
Since moving portal.php from /forum to the domain root there is a cookie problem.

Users are now required to log in each day, despite checking the "Remember me" box.

Is there a fix for this?

Re: Cookie problem - expiring repeatedly

Posted: 30. September 2008 11:59
by Ice
Make sure the cookie path is set to '/'

Re: Cookie problem - expiring repeatedly

Posted: 30. September 2008 12:23
by Brogan
I which file is that?

Thanks.

Re: Cookie problem - expiring repeatedly

Posted: 30. September 2008 12:26
by Kevin
In no file.
Set it in the ACP.

Re: Cookie problem - expiring repeatedly

Posted: 30. September 2008 12:29
by Brogan
Yes, just found it and it is already set to /

This problem has only started occurring since I moved the portal.php file from /forum to the domain root.

Re: Cookie problem - expiring repeatedly

Posted: 30. September 2008 18:24
by Brogan
Anything else I can check?

Re: Cookie problem - expiring repeatedly

Posted: 2. October 2008 12:33
by Brogan
Still got the same problem with this.
What should the configuration in the root .htaccess be?

Re: Cookie problem - expiring repeatedly

Posted: 2. October 2008 17:47
by Kevin
Delete the entry in the .htaccess for the portal in your forum directory.
Create a new one in your root directory, with the entry for the portal.

Re: Cookie problem - expiring repeatedly

Posted: 4. October 2008 13:44
by Brogan
Thanks.

Re: Cookie problem - expiring repeatedly

Posted: 9. October 2008 16:45
by Brogan
I've tried several things and still can't resolve this cookie problem.

I now have both home.php (portal) and forum.php in the domain root.

I suspect it's due to this line in my .htaccess file:

Code: Select all

DirectoryIndex home.php index.php index.html index.htm
Any ideas what I can do to resolve it?

Re: Cookie problem - expiring repeatedly

Posted: 9. October 2008 16:54
by Ice
Well after 2 days it still has me signed in.

If you have Firefox handy go to Tools -> Options -> Privacy -> Show Cookies -> filter cliptheapex -> check all cookies have the path '/'

Re: Cookie problem - expiring repeatedly

Posted: 9. October 2008 21:41
by Brogan
It all seems to be fine.

I've just cleared all the board cookies and I'll see what happens.

Re: Cookie problem - expiring repeatedly

Posted: 14. October 2008 02:26
by Brogan
This is still not working so we have no option but to uninstall the portal.

Re: Cookie problem - expiring repeatedly

Posted: 14. October 2008 17:19
by Ice
Well I'm still logged in perfectly fine. Sorry, but we don't know what could cause this and so do not know what we can do to fix it.

Re: Cookie problem - expiring repeatedly

Posted: 14. October 2008 17:25
by Brogan
Maybe it's an issue with having multiple pages open?

I have Firefox set to automatically open the homepage, forum and ACP in separate tabs.
Perhaps that is the reason?

That used to work without the portal though so obviously something somewhere needs tweaking.
I'll see if I can track it down...