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

Explain about solution explorer window?

0 Answers  


How does the XmlSerializer work? What ACL permissions does a process using it require?

2 Answers  


To get the values in two different controls to match which control you use it?

0 Answers   Siebel,


What are merge modules?

0 Answers  


How will you load dynamic assembly?

0 Answers  






What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

0 Answers   HCL,


List of interview questions collections at www.dpoint.weebly.com

2 Answers   IBM,


What is the significance of attaching a profile while creating a user?

0 Answers   MCN Solutions,


What is an imagemap in asp.net?

0 Answers  


What are the features that make asp.net more used framework? : asp.net mvc

0 Answers  


Explain about secure socket layer?

0 Answers  


Why do we need asp.net?

0 Answers  


Categories