How many types of session in asp.net2.0

Answer Posted / manish pathak

There are two category of Session type:

(1) Inproc : are those which are stored under aspnet_wp.
(2) OutProc : are those which are stored outside aspnet_wp.

- Inproc : This is default session state and it is stored
locally in the memory of asp net worker process.

- OutProc :
(a) StateServer : it is stored outside aspnet_wp & is
managed by window service. Location of that service is
specified by stateConnectionString attribute.
(b) SqlServer : it is also stored outside aspnet_wp &
is managed by Sql Server Database. Location of that database
is specified by sqlConnectionString attribute.

Thanks
Manish Pathak

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define managed code and managed data in .net?

509


Give an example of what might be best suited to place in the application_start and session_start subroutines?

518


What methods are fired during the page load? Init()

514


Explain in what order a destructors is called.

577


What asp.net control can embed xaml into asp.net pages?

538






How is a session stored and maintained in asp.net?

531


What are standard controls?

510


What does session_start () do?

618


How will create assesblies at run time?

548


What is the current version of asp.net?

493


What do you understand by aggregate dependency?

612


What is the use of express session?

533


Why we go for mvc instead of asp.net? : Asp.Net MVC

489


What is the namespace to create thread in .net?

525


When maintaining session through sql server, what is the impact of read and write operation on session objects?

529