Session with Google Chrome and PHP 5.3

I have an Auth component (based on Zend_Auth) that I use in many projects on different servers and in different environments. It always worked ... so far:

When I try to log in to a new project (using the same Auth component) with Google Chrome (12.0.742.122) , I log out immediately after logging in. Do not meet with FF or IE.

Does anyone know why this could be?

+4
source share
4 answers

This is a strange story. If you have a problem with Google, you will find that it sporadically appears here and there, but never systematically. There is an error report for the Zend Framework, there are problems on the Google forums, there are similar reports in the Drupal and Wordpress tracking systems. But for some reason there are no clear answers.

In my case, the problem simply disappeared on its own during some other refactoring.

0
source

This is not a ZF problem. Oddly enough, the problem is solved by adding an icon to your site. Chrome makes a request for badges and invalidates the session when it receives 404. I read one post that said a special 404 configuration might help.

+5
source

Perhaps this error: http://framework.zend.com/issues/browse/ZF-11502 - there is a correction in the comments.

0
source

Just a hint ... I had the same problem. After debugging, I found that there is a collision with the cookie name in the main domain. It worked in FF and IE, however Chrome used a top-level cookie for an ajax request, and a lower one for a regular request.

0
source

All Articles