Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Session Values Lost on asp.net app

Posted on 2009-07-10
2
Medium Priority
?
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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