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

Explain Optimization technique description?

594


How to set the pane area to transparent of a scrollPane component.?

556


What language is asp.net written in?

520


What are the three parts of an http response?

522


Difference between .NET and previous version?

2097






What is the difference between dynamic SGA and static SGA?

578


What is view state management in asp net?

459


What is in a session cookie?

532


What is a pixel url?

505


What are the elements of a website?

511


What types of data validation events are commonly seen in the client-side form validation?

555


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

520


How do cookies work?

585


Explain automatic memory management in .net.

585


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

632