Why are my PHP sessions dying? And why can't I restore them?

前端 未结 2 1813
情歌与酒
情歌与酒 2021-01-22 16:43

I have an app using PHP and the PayPal API. The basic way it works to get a payment is that you do a web service call to PayPal to get a token and then do a browser redirect to

相关标签:
2条回答
  • 2021-01-22 17:02

    Just an idea ...

    Do you have session.referer_check set to your host perhaps? The default is the empty string, but it might have been changed ... and when the page 'comes back' from PayPal, php will trash the session info.

    You can check the session.referer_check with phpinfo().

    0 讨论(0)
  • 2021-01-22 17:22

    Can you do a phpinfo() and tell if session.auto_start is true?

    0 讨论(0)
提交回复
热议问题