Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
Session variables are getting reset on payment gateway redirect on chrome and edge browsers

On one of my websites, I observed that the session variables are getting reset on a payment gateway redirect on the chrome, edge and opera browsers.

What I have already done:

I contacted chrome and edge (basically Google and Microsoft for the issue) and yet to hear back from them.

I have contacted the payment gateway providers and am yet to hear back from them.

I have checked my website code and verified and reverified that it is not a coding issue as it works on Safari and Firefox browsers.

Based on my research online I was suggested by some sections online that it is a same-site issue.

The same-site fix is already there in my server as part of a htaccess file as below:

<If "%{HTTP_USER_AGENT} !~ /(iPhone; CPU iPhone OS 1[0-3]|iPad; CPU OS 1[0-3]|iPod touch; CPU iPhone OS 1[0-3]|Macintosh; Intel Mac OS X.*Version\x2F1[0-3].*Safari|Macintosh;.Mac OS X 10_14. AppleWebKit.*Version\x2F1[0-3].Safari)/i"> Header edit Set-Cookie ^(.)$ $1;SameSite=None;Secure

Any help in fixing this issue would be hugely appreciated.

Note: I thought it was a server-specific issue as it has to do with htaccess so I initially posted on server-fault, but it appears my question was banned as spam! My best guess is that the moderators were drunk:) with all due respect to them!

The above fix works in my local though!

Existing fixes for a similar issue were not able to solve the problem at hand.

My config uses php 7.0

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!