|
|
|
Rank: Starting Member
Groups: Registered
Joined: 4/29/2003 Posts: 2 Location: ,
|
I have a script that after customers have made payment into my paypal account they return to my site and the session variables that I have created will write their details to a MySQL database. For some reason which I can not find out is that this doesn't happen but when I test the code by passing the paypal payment everything works fine. So the question is does the paypal site after payment is made kill all sessions on their server and does this affect the sessions created on another server.
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Our servers would not be able to kill a session managed by cookies since only the server that issues the cookie can read and modify it. Some ccokies expire when you leave a site. Also, if you're managing sessions in the URL, that could get lost. You might consider passing an ID through in item_number or custom which will be echoed back in the IPN (and to the "return" URL when using IPN). Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 4/29/2003 Posts: 2 Location: ,
|
Thank a lot for that information, I tested this by typing into my form and create the sessions then I left the page to go to another website, I then returned to another page which uses these sessions in the page to add to my database and the sessions are still there and inserting into the database without any problems. Will be testing the whole thing again with a paypal payment.
"I expect to pass through this world but once. Any good therefore that I can do, or any kindness or abilities that I can show to any fellow creature, Lord, let me do it now. Lord, let me not defer it or neglect it, for I shall not pass this way again."
Efih Okuanyionu Efih Precision Designs Limited Unit 9 Tottenham Green Business Enterprise Centre Town Hall Approach Road London N15 4RX United Kingdom Tel. ++44 (0) 208 375 3626 Fax ++44 (0) 207 701 4587
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.189 seconds.