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

Is asp.net a programming language?

0 Answers  


How can you use a custom controls in ASP.NET application?

0 Answers   Sans Pareil IT Services,


What are the security types in asp.net?

0 Answers  


What is the difference between client-side and server-side validations in webpages?

0 Answers  


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

0 Answers   Siebel,






What does the "EnableViewState" property do? Why would I want it on or off?

3 Answers  


What is _viewstart?

0 Answers  


What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?

1 Answers   Getit, Siebel, Visual Soft,


You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel

2 Answers   Syntax Softtech,


How to disable SOAP1.2 in Web Services?

1 Answers  


What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?

2 Answers  


What is voluum?

0 Answers  


Categories