Skip to content

winter_session cookie purpose? #144

Answered by LukeTowers
0hra asked this question in Q&A
Discussion options

You must be logged in to vote

@rwhol This cookie is used to maintain the user's session data, see https://wintercms.com/docs/services/session. It's important for a number of reasons (persisting logins across page requests, preventing CSRF attacks through the CSRF hidden input value attached to the session, flash messages, redirecting users to the correct page after logging in, and anything else that your site needs to persist about a user between individual requests. If you absolutely want to disable it, you can do so by setting the driver option in config/session.php to array; but I wouldn't recommend it as it would break all of the before mentioned use cases. You can also explore the option of dynamically changing t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@0hra
Comment options

@bennothommo
Comment options

Answer selected by bennothommo
Comment options

You must be logged in to vote
1 reply
@bennothommo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants