Jump to content

Is there a way to access session variables from another website?


Recommended Posts

I'm working on a project that uses PayPal and Instant payment notification and I need to access some of the data that is stored as a session (on my site) from the paypal IPN script.

 

Its not working at the moment because I believe the IPN script is actually executed by Paypal and so it doesn't have access to the session variables that were established by the user on my site.

 

Is there a way to set the variables so they can be accessed by both users? I can pass 1 custom value through paypal as a hidden field so I'm thinking I could pass the Session user ID or something so that the IPN script can obtain it and use it to pretend it's the same user. Is this even possible?

 

I've already considered passing all my data through the custom field using delimeters but there is a 140 character limit and I have more than that to pass.

 

If anyone has any ideas or suggestions as to how to solve this they would be greatly appreciated.

How would i go about that? What information would I have to send in order for Paypal to be able to access the session created by my user?

 

And how would I retrieve that in the PayPal script and verify it?

 

Thanks for your help

Thanks for your help.

 

But I'm not using the API, just the Web payments standard. And the documentation is quite confusing.

 

My question is more related to sessions though, How can I get a second user to be able to view the session data of user 1? What information do I have to have available and how would I verify that it was correct.

 

I've got my PayPal part of the script sorted, but I don't have access to the session data that was established by the client on my website.

 

Is there another way to go about it? Such as global variables or cookies, although wouldn't cookies be too vulnerable?

 

Thanks

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.