How many types of sessions are there?

Answers were Sorted based on User's Feedback



How many types of sessions are there?..

Answer / sushil

asp.net supports 2 types of sessions
inprocess:session maintained by application domain[default]

outprocess:session maintained outside application
domainexternal to worker process.the external process can be:-

(i)state server:is a service of o/s which comes with .net
installation.this supports temopary storage.

(ii)sqlserver:persistent storage is supported.

(iii)custom:requires manual coding

cookieless session:it is a concept of providing sessionid to
client by appending to url.

Is This Answer Correct ?    11 Yes 0 No

How many types of sessions are there?..

Answer / 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

More ASP.NET Interview Questions

what are the application layers for a distribute application?

0 Answers   Mind Tree,


What is the difference between “Web.config” and “Machine.Config”?

0 Answers  


What do you mean by View State and what is its role?

0 Answers   Wipro,


How to create multi language website in asp.net mvc? : Asp.Net MVC

0 Answers  


What is enableviewstate in asp net?

0 Answers  






Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

0 Answers   DELL,


how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

0 Answers  


Define secured sockets layer.

0 Answers  


Whats an assembly?

6 Answers   Siebel Systems,


How do you handle server controls?

0 Answers   Cap Gemini,


How does u get record no from 5 to 15 from a dataset of 100 records?

0 Answers  


Categories