Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I want to get some user info using a html form, After submission, the user input is stored in a session and the user is redirected to paypal to perform payment operation. After the payment validation, the user will be redirected again to the website and the input will be stored in a database table.

The problem is : session variables are lost after the redirection to the website.

Any one for help?

Thank you.

share|improve this question
I don't see any reason, why the session should get lost. If the user returns to the same host, his session should be available. How to you create the session? – SteAp 54 mins ago
i jut use session_start() – Ayoub 53 mins ago
After that, do you emit a new page of your site? If not, the sessionID will not be saved in the user's browser. – SteAp 51 mins ago
of course, the session work fin with the user session, and user can navigate on all user space without loosing session value. – Ayoub 46 mins ago
Based on that statement, I still see no reason, why the session should be gone one the user returns from PayPal. – SteAp 7 mins ago
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.