Link to home
Start Free TrialLog in
Avatar of dhiraj79
dhiraj79

asked on

Session expires after returning from pay pal to My site after payment.

Hi all,
I am Integrating pay pal to my site and using Pay pal PDT.
i AM USING HTML BUTTON OF PAY PAL AND i AM SETTING SEESION[uSERNAME"] IN my pay pal button page. from there it goes to pay pal and returns back  to my thank you page.
On my thank you page I am reading this session.
Sometimes its there and sometimes it null.
Some times Session expires after returning from pay pal to My site after payment.
P-lease let me know the reason if you can guess
Avatar of Aleksey_Shturman
Aleksey_Shturman
Flag of Russian Federation image

You need to add optional parameter(username in your case) to PayPal request and PayPal returns it in response ...
About session : You can change session time (20 min by default) in web.config
Avatar of dhiraj79
dhiraj79

ASKER

Thanks for the reply ....
How can I send value of user name from my session variable to the html button code optional parameter.
Can you please give that code.
ASKER CERTIFIED SOLUTION
Avatar of cheekycj
cheekycj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial