Solved

Session Values Lost on asp.net app

Posted on 2009-07-10
2
170 Views
Last Modified: 2013-11-07
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
Comment
Question by:woodsy37
2 Comments
 
LVL 14

Expert Comment

by:shahprabal
ID: 24823461
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
 

Accepted Solution

by:
woodsy37 earned 0 total points
ID: 24837997
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now