How many types of session in asp.net2.0

Answers were Sorted based on User's Feedback



How many types of session in asp.net2.0..

Answer / sudhakarraoadapa

Session Management can be achieved in two ways

1)InProc
2)OutProc

OutProc is again two types
1)State Server
2)SQL Server


InProc
Adv.:
1) Faster as session resides in the same process as the
application
2) No need to serialize the data

DisAdv.:
1) Will degrade the performance of the application if large
chunk of data is stored
2) On restart of IIS all the Session info will be lost

State Server
Adv.:
1) Faster then SQL Server session management
2) Safer then InProc. As IIS restart
won't effect the session data

DisAdv.:
1) Data need to be serialized
2) On restart of ASP.NET State Service session info will be lost
3)Slower as compared to InProc

SQL Server
Adv.:
1) Reliable and Durable
2) IIS and ASP.NET State Service
restart won't effect the session data
3) Good place for storing large chunk of data

DisAdv.:
1) Data need to be serialized
2) Slower as compare to InProc and State Server
3)Need to purchase Licensed
version of SQL Server

where they are stored.
1. inproc - default stored in web.config.
2. outproc - stored in server side.
3.Sql server - stored in database.

Is This Answer Correct ?    0 Yes 0 No

How many types of session in asp.net2.0..

Answer / srinivasareddy

i) in process session
II)out Process session
III) Sql-server session

In process session by default in web.cofig File.
out process is stored at server side.
Sql-server session is stored in Database(Sql).

Is This Answer Correct ?    0 Yes 0 No

How many types of session in asp.net2.0..

Answer / raja

1.inproc
2.OutProc(sql Server,state server)

Is This Answer Correct ?    0 Yes 0 No

How many types of session in asp.net2.0..

Answer / anand gopal makwa munger

There are two type of session in asp.net2.0
1. inProc Session.
2.OutProc Session(a.StateServer, b.Sql Server).
1. InProc:It is use for locally or we can say it is use for same IIS.
2.OutProc:we know IIS Memory is Limit,OutProc give us facility to bring data from different IIS.

Is This Answer Correct ?    1 Yes 2 No

How many types of session in asp.net2.0..

Answer / shiv ratan

2 Types of Session
1>Inproc
2>Outproc

Is This Answer Correct ?    5 Yes 10 No

How many types of session in asp.net2.0..

Answer / renu

Two types of sessions are there :
a. In process
b. Out Process

in which

a. In Process includes State Server/Cookies type of session
management.

b. Out Process includes SQL Server's type of session
management.

Is This Answer Correct ?    7 Yes 13 No

How many types of session in asp.net2.0..

Answer / anjani mittal

Basically there r 4 types of session these r:-

(a)InProc
(b)State server
(c)Sql Server
(d)Custom provider
(e)OutProc

Is This Answer Correct ?    6 Yes 21 No

How many types of session in asp.net2.0..

Answer / prem

There are four types of session state in asp.net 2.0
1. In proc session
2. Out Proc session
3.Web Farm
4. Web Garden

Is This Answer Correct ?    20 Yes 82 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between excute query and excute nonquery.?

4 Answers  


what are the types of ASP objects ?

7 Answers   Satyam,


What is view state? where it stored? can we disable it ?

1 Answers  


When is validation done on the client? How does client-side validation improve the efficiency of an application?

1 Answers  


What is form method?

0 Answers  






How can we prepairing Interview

0 Answers   ITcom, TCS,


Explain different types of Caching techniques in ASP.NET?

0 Answers   Sans Pareil IT Services,


what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get

1 Answers   e4e,


In asp.net, if a webpage seems too slow to load completely in th ebrowser. In this case what are the checkings or actions you will take to rectify the slowness or which are the factors related to this issue? How we can trace it?

3 Answers  


What is the use of web.config and machine.config files?

0 Answers   Amdocs,


which is the new version of IIS SERVER

1 Answers  


What do you mean by authentication and authorization

3 Answers  


Categories