Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

137
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda