How many types of session in asp.net2.0
Answers were Sorted based on User's Feedback
Answer / banumathi
three types of session states in asp.net
InProc
OutProc
SqlServer
Is This Answer Correct ? | 117 Yes | 30 No |
Answer / sathish
As mentioned by manumathi.There are three session states:
inproc
sqlserver
stateserver
Is This Answer Correct ? | 77 Yes | 14 No |
Answer / sabeer pasha
Three Types of Session
i) inprocess session
II)out Process session
III) SQl-server session
Inprocess session by default in web.cofig File.
out process is stored at server side.
sql-server session is stored in Database(sql).
sabeer pasha.
Is This Answer Correct ? | 52 Yes | 16 No |
Answer / navin.cp
Three types of Sessions are in .Net
1. In Proc
2. Out Proc
3. State Server/ Sql Server
In proc does not support Web Farming &b Web Gardening while
the other 2 supports.
I dont know why people are saying Web Garden & Web Farming
are the types of session for eg. Prem
Is This Answer Correct ? | 50 Yes | 16 No |
Answer / jigar
two Types:
(1) Session InProc:
INProc
(2) session OutProc:
State Server
Sql Server
Is This Answer Correct ? | 32 Yes | 5 No |
Answer / mallikarjuna
sessions are two types :
they are
1.Inprocess(this is default,and high performence)
2:outprocess
in out proc we have other two types of sessions
they are
*state server
*sql server
these out proc is useful whethr the infrmation is
maintained in between to servers that time only we can use
this sessions.
Is This Answer Correct ? | 29 Yes | 5 No |
Answer / rajen
There are three types of session in asp.net 2.0
1.Inproc(In Local process and default one)
2.Stateserver(At differnt Process and need serialised data)
3.Sqlserver(At sql Server and need serialised data)
The latter two are good for working with web farms and web
gardens.
Is This Answer Correct ? | 28 Yes | 9 No |
Answer / nizath ali
There are two main categories of session in asp.net2.0,
(1) Session InProcess:
InProc
(This is default in web.cofig file and high performence.)
(2) Session OutProcess:
State Server
Sql Server
(These out proc is useful whethr the infrmation is
maintained in between to servers that time only we can use
this sessions.)
Simply three types of session in asp.net2.0,
i)InProc
ii)State Server
iii)SQL Server
Regards,
Nizath Ali.U
Is This Answer Correct ? | 22 Yes | 4 No |
Answer / 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 |
Answer / jayant shahi
ASP.Net supports 4 types of sessions
1)in process (InProc)(The Default) Session state exists
within the process the web is using
2)state server (OutProc)Session data is sent to the
configured stateserver service
3)sql server (OutProc)Session data is store in the
configured sql server database
4)custom
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
Is This Answer Correct ? | 14 Yes | 0 No |
How many Directives r in ASP.NET?
In asp.net 3.5 we can go one page to onther page without using statemanagment concept?
Explain in what order a destructors is called.
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
calling result set one procedure to anothar procedure in sql2000
Which is faster viewdata or viewbag?
What is enableviewstate in asp net?
Which asp.net objects encapsulate the state of the client and the browser?
Do session use cookies in asp net?
What is asp.net ajax?
What is Stateless ASP or ASP.Net?
What is the best Macanism to clear the Cache in asp.net