I’m implementing paypal payment on my website.
Now, when a user logs in, clicks on the paypal payment link, does the payment, Paypal redirect him again to the user zone. The problem is that session data seem disappeared.
How can I mantain the session data alive, during the absence of the user?
Make sure you redirect to a URL with the 100% right domain.
Remember,
domain.comis not the same aswww.domain.comand a session started on the latter will not be present on the other.The same applies to protocols: a session started on a
http://URL won’t carry forward tohttps://.