How many types of sessions are there?

Answer Posted / braj bhasker singh

Four Types of Session Types-

1. InProc mode- which stores session state in memory on the
Web server. This is the default.
2.StateServer mode- which stores session state in a
separate process called the ASP.NET state service. This
ensures that session state is preserved if the Web
application is restarted and also makes session state
available to multiple Web servers in a Web farm.

3.SQLServer mode- stores session state in a SQL Server
database. This ensures that session state is preserved if
the Web application is restarted and also makes session
state available to multiple Web servers in a Web farm.

4.Custom mode- which enables you to specify a custom
storage provider.

5. Off mode- which disables session state.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is css and what is it used for?

636


If we remove web.config or machine.config from the application then, is this application will works?

688


Is data edited in the Repeater control?

678


What is the full form of asp.net?

618


What is full trust in asp.net?

638






How many types of triggers are there in update panel?

659


How will create assesblies at run time?

640


What is postback in asp net?

643


Explain serialization and deserialization?

645


What is the difference between asp.net and mvc?

674


How to implement Authentication and Authorization?

652


What is a url string?

651


What is preprocessor in .net? Where it use?

620


What is difference between rest and soap?

662


Explain asp.net application life cycle?

636