4

I am running a clean install of Pressflow 6.28. I have set the following configurations:

Cache Mode: Normal; Min Cache Lifetime: 5 minutes; Page Cache Max Age: 1 day;

I have installed no contributed modules and have disabled all optional modules that ship with Pressflow.

I am seeing inconsistent behavior with setting session cookies with anonymous users. Sometimes a session is not set, but most of the time it is. When I login and logout, session remains set. If session is not being set and I run 'drush cc all' it begins to be set. I am wondering if there is perhaps some additional configuration I may be missing.

  • 1
    Pressflow won't disallow anonymous sessions altogether because sometimes they are needed (eg. for shopping cart). Anonymous visitors who don't login should not get session cookies, that's the only difference from standard Drupal in this respect IIRC. So I think what you are seeing is expected behaviour. Shouldn't be a problem anyway for most sites. – Alfred Armstrong May 2 '18 at 9:00
0

Make sure the $cookie_domain is set properly in settings.php, often if it's not set to the correct domain, particularly in proxy situations, you'll see inconsistent login behaviour.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.