programming pointers

 

Firefox SameSite Set cookie reject issue apache solution

A couple of days back while testing something I found the below warning in my Firefox console (Press F12 to get access to console).

as per the warning cookie from my application will be rejected soon, though they have not mentioned any timeline by when the cookie with current attributes will be supported?

through there is documentation which explains a bit about options one can use for Set-Cookie to solve but that depends how you are setting your cookie..

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

Coming to solution part, if you are using apache then you can make global change in httpd.conf file, one can also do from other places like using HTACESS file or depends on the application cookie setting mechanism.

To solve the issue from apache. Below are the steps:

ENV:

CentOS 6.x,7.x 
Apache 2.2.x

Done!

Now, FF Warning should go and hopefully cookies should be allowed.

All the best!



 

 

Copyright © 2007-2020 PRADEEP K. PANT

Made with Jekyll | Source Code | RSS