Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Information about Cookies used/created by Grav?

Started by Muut Archive 10 years ago · 5 replies · 1332 views
10 years ago

Hi, where can I find information about the cookies created by grav? These are named grav-site in the admin plugin, what is the purpose for these cookies? I need this information for my websites privacy policy text.

10 years ago

Hi, they are used to keep the user logged in, and in admin also to store some other information such as which tab is open when editing a page.

10 years ago

Hi, ok but they are created even without any login feature or access to admin page.

10 years ago

If not logged in yet, that is a session cookie, which identifies the user to Grav, and allows to generate a token which we send for example in forms to secure them.

You can turn it off by setting system.session.enabled to false if you don't want it to be added.

10 years ago

@flaviocopes This option should be available though in the Grav admin plugin. Setting it system.session.enabled to false, means also that you can't login from the front-end anymore (login from back-end via Admin panel is working though).

10 years ago

Yes, the cookie is essential to logging in.
I mentioned the option to turn it off if you don't actually want to add any cookie to the browser, for some reason, but that will prevent login to the site, thanks for mentioning it.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1368 9 years ago
Archive · by Muut Archive, 9 years ago
2 942 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago