on adding samesite cookie in headers the content page is autoredirecting to login page

Avatar

Avatar

shivama92274331

Avatar

shivama92274331

shivama92274331

07-01-2021

Hi All,

On adding below configuration “samesite cookie”  in vhost file under headers section , we are getting the issue the page is auto redirecting to the login page which is hosted on Magento after around 20 seconds.

 

<IfModule mod_headers.c>

               

              Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=None

</IfModule>

 

Apache version: 2.4

 

Any leads for this.

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

shivama92274331

Avatar

shivama92274331

shivama92274331

15-01-2021

I have fixed it now, the HttpOnly attribute in header was redirecting it to the login page.

Answers (1)

Answers (1)