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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 21, 2012, 8:52 AM EDT
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
Satyapriya NayakRank #47 · 31.5K reputationPosted Aug 21, 2012, 7:00 AM EDT
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
Jignesh TrivediRank #16 · 50.3K reputationPosted Aug 21, 2012, 8:04 PM EDT
- 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.
tom linker86 reputationPosted Aug 22, 2012, 2:46 AM EDT
If we closed ASP.NET env. and main server, we maintain session or not without sqlserver.
Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 22, 2012, 8:47 AM EDT
else check this is correct answer if it helped.