Page 1 of 1
describe function of session cookie
Posted: Tue Jan 24, 2023 11:32 am
by webvent
Hi all
Where can I find the description of the session cookie? Meaning, what it does, what data gathers (if any) etc, in order to describe this in the websites privacy policy.
Thank you!
Mig
Re: describe function of session cookie
Posted: Tue Jan 24, 2023 6:25 pm
by DIGI3
It sets a random string of numbers and letters, no personal data is stored or gathered.
It is primarily used so if you're logged into admin at the same time as viewing the frontend, it will disable the cache, and allow for proper previews in admin. The number is read, if it matches the one read in admin, it knows its the same person (session).
You can put this in your page template to view what is stored:
Code: Select all
<pre>{$smarty.session|print_r}</pre>
check it while logged in to admin in another tab, and also in incognito so you can see the difference.
Re: describe function of session cookie
Posted: Tue Jan 24, 2023 8:04 pm
by webvent
DIGI3 wrote: ↑Tue Jan 24, 2023 6:25 pm
It sets a random string of numbers and letters, no personal data is stored or gathered.
It is primarily used so if you're logged into admin at the same time as viewing the frontend, it will disable the cache, and allow for proper previews in admin. The number is read, if it matches the one read in admin, it knows its the same person (session).
You can put this in your page template to view what is stored:
Code: Select all
<pre>{$smarty.session|print_r}</pre>
check it while logged in to admin in another tab, and also in incognito so you can see the difference.
Hi
Thanks for your help.
I am still not knowledgeable of CMSMS, can you clarify the steps to place the code in page template? Just want to make sure I do the test properly.
Mig
Re: describe function of session cookie
Posted: Tue Jan 24, 2023 8:07 pm
by DIGI3
In Design Manager, open the template you want to edit. Paste the code snippet in a place you'd like it to show then hit submit.
Re: describe function of session cookie
Posted: Wed Jan 25, 2023 9:44 am
by jce76350