1 (edited by chrizz 2005-11-09 23:48)

Topic: Cookies and normal logout

It happends quite often that users have issues logging out from the forum. It's basicly Internet Explorer that hangs up and does not remove the cookie. Is this a problem with punBB, or have it been in older punbb versions?

The only solution I know to this is to remove the cookie manually.

Any ideas?

Re: Cookies and normal logout

I have never encountered this problem personally, so I really can't say.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Cookies and normal logout

I had a similar problem. I used two domains for my site www.keffatliv.ath.cx and keffatliv.ath.cx.
The problem was that when using www.keffatliv.ath.cx the keffatliv.ath.cx cookie were read but the www.keffatliv.ath.cx were written to.

So a user who had logged in using keffatliv.ath.cx could not log out using www.keffatliv.ath.cx. The solution was to redirect www.keffatliv.ath.cx to keffatliv.ath.cx.

4

Re: Cookies and normal logout

i have this problem to.

Re: Cookies and normal logout

jop wrote:

I had a similar problem. I used two domains for my site www.keffatliv.ath.cx and keffatliv.ath.cx.
The problem was that when using www.keffatliv.ath.cx the keffatliv.ath.cx cookie were read but the www.keffatliv.ath.cx were written to.

So a user who had logged in using keffatliv.ath.cx could not log out using www.keffatliv.ath.cx. The solution was to redirect www.keffatliv.ath.cx to keffatliv.ath.cx.

You should have set the cookie_domain in config.php to .keffatliv.ath.cx

Jora: Assuming you're talking about http://synpeople.com/, you should set your cookie_domain to .synpeople.com

chrizz: Assuming you're talking about http://www.garaget.org/, you should set your cookie_domain to .garaget.org

Re: Cookies and normal logout

Smartys wrote:
jop wrote:

I had a similar problem. I used two domains for my site www.keffatliv.ath.cx and keffatliv.ath.cx.
The problem was that when using www.keffatliv.ath.cx the keffatliv.ath.cx cookie were read but the www.keffatliv.ath.cx were written to.

So a user who had logged in using keffatliv.ath.cx could not log out using www.keffatliv.ath.cx. The solution was to redirect www.keffatliv.ath.cx to keffatliv.ath.cx.

You should have set the cookie_domain in config.php to .keffatliv.ath.cx

Jora: Assuming you're talking about http://synpeople.com/, you should set your cookie_domain to .synpeople.com

chrizz: Assuming you're talking about http://www.garaget.org/, you should set your cookie_domain to .garaget.org

If I suddenly change this, it means that no one longer can log out... not that good idea I guess.

Re: Cookies and normal logout

Try changing the cookie name as well then: people will all be forced to login again