Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

shivama92274331
Level 2
Level 2

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

1 Accepted Solution
shivama92274331
Correct answer by
Level 2
Level 2

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

View solution in original post

2 Replies
shivama92274331
Correct answer by
Level 2
Level 2

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

View solution in original post