Is sxa_site cookie necessary for Sitecore website?
If you are working on a requirement for cookie consent of your site, this question will definitely strike your mind. You would like to know that "sxa_site" cookie is not really necessary for Sitecore SXA websites.
According to Sitecore support team, the website still works in case you remove the cookie. So, this is not one of the necessary cookies for cookie consent.
Ever wondered what sets this cookie for Sitecore SXA sites?
Following code in snapshot is used to set the cookie in Sitecore.XA.Foundation.Multisite.Pipelines.HttpRequest.StoreSiteNameInCookie processor-
Even knowledge of such little things can be highly useful when handy at time. Hope you like it!!
Comments
Post a Comment