I would like to extend the lifetime of the CraftSessionId cookie. Is this possible and if so, where can I change the value?

Thank you for your time.


Craft's CraftSessionId cookie is simply the PHP Session cookie renamed and by default it's terminated when the browser is closed.

Craft currently doesn't expose any way to alter that behavior, but you can always make a feature request!

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.