winter_session cookie purpose? #144
-
I'm having a hard time figuring out what the purpose of the winter_session cookie is? I want to disable it for frontend visitors if it's not essential to the core functionality of winterCMS. How can I do that exactly? If it's not possible to disable without breaking stuff, I need to be able to describe its purpose in my privacy policy. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@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 |
Beta Was this translation helpful? Give feedback.
-
Hi, does this mean, that if I block my cookies completley, the User Login will not work? |
Beta Was this translation helpful? Give feedback.
@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 inconfig/session.php
toarray
; 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…