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
Friday 17 December 2010 12:12:56 pm - 4 replies
Hi,
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 http://issues.ez.no/IssueView.php?Id=14828&activeItem=4) 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 ?
Max
Friday 17 December 2010 5:38:24 pm
Ah, I think it's related to this one :
http://issues.ez.no/IssueView.php?Id=16549&activeItem=2
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!