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

Is viewstate secure?

514


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1619


What is variable and constant in .net programming language?

397


Which validator control you use if you need to make sure the values in two different controls matched?

652


List some of the important session state modes of asp.net.

506






Is sql backend or frontend?

559


What is global.asax file used for?

562


What are the security types in ASP/ASP.NET? Different Authentication modes?

564


what are the web form events available in asp.net?

562


What is synchronous and Asynchronous post back ?

645


What is the difference between session and viewstate?

520


Explain about consistent programming model in the .NET framework?

595


State differences between MVC and WebAPI

607


What is a SESSION and APPLICATION object?

579


What is difference cookie and session?

527