This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Install & configuration » eZPublish - is_logged_in cookie

eZPublish - is_logged_in cookie

eZPublish - is_logged_in cookie

Friday 17 December 2010 12:12:56 pm - 4 replies


Does anynone get some troubles with the is_logged_in cookie ?

On our platform, everydays for one week, we have the following bug :

After being authenticated, the user click on a link and he is disconnected systematically from eZ.

After inscpection, the is_logged_in cookie is unset during the redirection that occurs between /user/login and the called page.

I've put some debug in the index.php that handle this (and related to but it still occurs.

Our webhosting company told us it is eZPublish which is sending a bad header :

Set-Cookie: <span class="search-match">is_logged_in</span>=deleted; expires=Mon, 17-Dec-2010 10:23:19 GMT; path=/

The debug is never written so I don't why this occurs.

Any idea ?


Friday 17 December 2010 4:46:25 pm

Does set set-cookie header really include the text '<span class="search-match">' or is it just part of the forum post text?

Friday 17 December 2010 5:34:08 pm

No, of course.

The right one is :

Set-Cookie: is_logged_in=deleted; expires=Mon, 17-Dec-2010 10:23:19 GMT; path=/

Any idea by the way ?

Friday 17 December 2010 5:38:24 pm

Ah, I think it's related to this one :

Effectively the cookie does not need to be sent at each page. No ?

Wednesday 22 December 2010 11:12:34 am

Finally, I've found it.

A login handler was enabled always returning false, so I was connected then disconnected.

So the rule is to always check the login handler list and its return.

Modified on Wednesday 22 December 2010 11:12:52 am by Maxime Thomas


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from