Link to home
Start Free TrialLog in
Avatar of vu3lmg
vu3lmgFlag for United States of America

asked on

ASP.NET Session data after crash

I have a web application written in C#, ASP.NET.
The application is not stable and sometimes crashes when users are using it.
After the crash the user brings up the application's logon screen again.
I am storing the session data in the Session object provided by ASP.NET.
Question :
Is it possible to retrieve information of the previous session (the one that crashed) when new logon screen is loading ?
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

No, a crash in a web application will cause the process running the website to restart and therefore lose all of the session data.
The alternative is to store session information in sql server so it can be retrieved after a crash.
Avatar of vu3lmg

ASKER

Dear jacko72
My question is about extracting the information from the client PC, not the server.
Session state is stored on the server not on the client, a client based solution would be to use cookies.
Avatar of vu3lmg

ASKER

Yes session state is stored on the web-server but even that web-server would use cookies to identify between different users.  Right ?  
I am trying get that information (cookie) after the failure.

Please bare with me for the silly questions / lack of proper terminology, but I am new to the web programming.
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial