Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Session Values Lost on asp.net app

Hi All,
I have a question about session values.

My app is using cookieless mode and session in the url. I store all the values in the session. My web app had to use payment portal for security reasons. So, I had to post the necessary user data to the portal and portal will process the payment. After that, the payment portal will return to the URL I specified with session ID.

When the user get back to the app, previous info that I store in the session are lost or asp.net won't let me retrieve it.

Is there anything that I am missing.
0
woodsy37
Asked:
woodsy37
1 Solution
 
shahprabalCommented:
Check if Application_End event in Global.asax is triggered. This will mean that your session will be ending and all the values will be lost.
http://msdn.microsoft.com/en-us/library/ms178473.aspx
 
0
 
woodsy37Author Commented:
I found out that it is because I have the page validation switch on.

When It is on and the response come back with XML values,  some of the session values are lost. (I am not sure why.)

Now I have to trun off the page validation for a moment. :)

It is not an ideal solution but I will have to find out later.

Thank you.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now