Need to set SameSite cookie attribute to strict/lax for all cookies generated 
Question

Hi Community,

I want to set the SameSite cookie attribute to strict/lax for all the generated cookies at the module level. I tried to figure out by doing it from factory configuration, but I am not sure if it is possible or I am not aware of the exact process. If anybody has done it already can please guide me. 

Thanks,

Sachin


  

Solution

Hi Shashikant, 

We managed to fix this on load balancer by setting up rule to set SameSite cookies attribute. you can also implement it on server level in case your application is hosted on in-premise servers by setting up outbound rule at IIS.

https://devnet.kentico.com/articles/setting-the-samesite-header-for-kentico-cookies

Thanks,

Sachin

Hi Jitendra, 

Thank you for your reply, I have already gone through all these posts before posting it on the community forum.

What I only want is to find the way of setting SameSite Cookies attribute to Strict though any generic solution may be using factory configuration.

Thanks,

Sachin

Hi Sachin,

I also need to do the same, If you already done the same, can you please provide the steps to me.


Regards

Shashikant Shukla

Solution

Hi Shashikant, 

We managed to fix this on load balancer by setting up rule to set SameSite cookies attribute. you can also implement it on server level in case your application is hosted on in-premise servers by setting up outbound rule at IIS.

https://devnet.kentico.com/articles/setting-the-samesite-header-for-kentico-cookies

Thanks,

Sachin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.