Cookie check issue with logging in
Bug #476403 reported by
Thomas Bonte
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PANTHEON Mercury |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I moved a D6 install from shared hosting to mercury (alpha 6) and have the cookie check module enabled: http://
After the move, some users complained that they had to had to login twice before they could login, while after the first attempt, they got the cookie check error message: 'It seems your browser does not accept cookies. To log into this site, you need to accept cookies from the domain @domain.'
Currently, I can only think this is introduced by the mercury setup (varnish?) but haven't figured out where the exact problem comes from. Will investigate deeper later this month, but I thought I would report it already.
Changed in projectmercury: | |
status: | New → Won't Fix |
To post a comment you must log in.
Cookie check is likely completely incompatible with Pressflow's backport of lazy session creation from Drupal 7.
Pressflow prevents the creation of sessions for anonymous users until really necessary. This is an important performance enhancement across the board, and also is key in our use of Varnish, which bases its decision as to serving a cached page or not on the presence of a session cookie.
This plus the module's use of the validate hook will consistently mean that initial validation will fail because there's no cookie prior to the first form submit.
Unfortunately, these systems are fundamentally at odds, and I don't believe you can use the cookie_check with Pressflow or Varnish, and thus it's going to be problematic with Mercury.