Click below for Step by Step and Interview Q & A (dotnetinter) wrote,
Click below for Step by Step and Interview Q & A
dotnetinter

ASP.NET interview questions: - Various modes of storing ASP.NET session?

ASP.NET interview questions: - 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 on ASP.NET interview  questions

Tags: .net and c# interview questions, .net and c# training, asp.net interview questions, asp.net training, csharp interview questions, information technology questions, programming interview questions
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments