Hi,
How many type of session in ASP.NET? and Give the example of each type of session.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sukesh MarlaPosted Aug 21, 2012, 12:52 PM
OutProc
StateServer - Session state is stored outside of the ASP.NET worker process and is managed by a Windows service. The location of this service is specified by stateConnectionString attribute.
sqlserver - Session state is stored outside of the ASP.NET worker process in a SQL Server database. The location of this database is specified using the sqlConnectionString attribute.
Hope you enjoyed check this is correct answer if it helped
Sukesh MarlaPosted Aug 22, 2012, 12:47 PM
else check this is correct answer if it helped.
tom linkerPosted Aug 22, 2012, 6:46 AM
If we closed ASP.NET env. and main server, we maintain session or not without sqlserver.
Jignesh TrivediPosted Aug 22, 2012, 12:04 AM
- InProc mode
- StateServer mode
- SQLServer mode
- Custom mode
- Off mode
Please refer...http://msdn.microsoft.com/en-us/library/ms178586.aspx
hope this will help you.
Satyapriya NayakPosted Aug 21, 2012, 11:00 AM
Please refer the below links
http://www.codeproject.com/Articles/32545/Exploring-Session-in-ASP-Net
http://asp.net-tutorials.com/state/sessions/
http://www.netrostar.com/What-are-the-different-types-of-sessions-in-ASP-NET
Thanks