Hi there,
Have not encountered this issue before, basically what is happening is:
Boost is enabled, and is seems to be caching fine, anonymous users are getting an awesome cached version of the page (evidence by the time stamp in the source code), and they are being written out to the filesystem fine.
Authenticated users however when they browse to a page that boost has cached in the past, they get served a page that is session-less, but the weird thing is, is that this page is not cached by boost (no time stamp in the source code).
When I hit Ctrl + F5, the correct session-filled page is returned, and things like admin menu come back to life. When they browse to a page that boost has never cached, then everything is fine (i.e. has a session and admin menu etc)
Any ideas on what I can do to resolve this?
Things I have tried:
* Setting the server name + document root to be the actual values (no effect)
* flushing all caches, running cron, flushing all boost cache (no effect)
Details of server:
* Drupal 6.20 (stock)
* Boost 6.18
* Clean URLs
* Ubuntu 10.04 LTS
* Apache 2.2 (with mod_rewrite + mod_headers)
Thanks
Comments
Comment #1
wiifmAppears to be related to #177845: Authenticated users incorrectly served cached pages as upon further inspection the DRUPAL_UID cookie is missing from all browser requests (even though they are logged in).
Comment #2
wiifmUpon reading all of the related bugs filled about this, here is some more relevant information:
* the login form is on every page in the header, so in all likelihood you are going to be logging in from a static (cached) page
* logintoboggan module is enabled (don't know if this means anything)
Upon logging in, the very first POST does in the response say:
This POST receives a 302 Found to redirect to the homepage of the site
And now the request header sends the boost cookie.
The response comes back with
And then subsequent page requests content no DRUPAL_UID cookie.
This is so weird
Comment #3
marios88 commentedDo you have Cacherouter enabled and working?
Comment #4
NPC commentedSubscribing.