Solved

Session Values Lost on asp.net app

Posted on 2009-07-10
2
169 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 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

10 Experts available now in Live!

Get 1:1 Help Now