ASP.NET interview questions: - Explain the term various modes of storing ASP.NET session?
- By Shiv Prasad Koirala in ASP.NET
- Aug 8th, 2011
- 959
- 0
ASP.NET interview questions: - Explain the term various modes of storing ASP.NET session?
• InProc: - In this mode Session, state is stored in the memory space of the Aspnet_wp.exe process. This is the default setting. If the IIS reboots or web application restarts then session state is lost.
• StateServer:-In this mode Session state is serialized and stored in a separate process (Aspnet_state.exe); therefore, the state can be stored on a separate computer (a state server).
• SQL SERVER: - In this mode Session, state is serialized and stored in a SQL Server database.
Session state can be specified in <sessionState> element of application configuration file. Using State Server and SQL SERVER session state can be shared across web farms but note this comes at speed cost as ASP.NET needs to serialize and de-serialize data over network repeatedly.
Also see video on single sign-on using ASP.NET forms authentications as follows: -
Click and see more ASP.NET interview questions
Regards,
Also view author’s other blog onASP.NET interview questions
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more
- By Shiv Prasad Koirala
- Jan 17th, 2012
- 13434
- 0
.NET interview questions: - Can you elaborate project life cycle?
- By Shiv Prasad Koirala
- Aug 3rd, 2011
- 10202
- 0
Five most important SharePoint 2010 interview questions
- By Shiv Prasad Koirala
- Nov 16th, 2011
- 9926
- 0

