Solved

Session Values Lost on asp.net app

Posted on 2009-07-10
2
172 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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