How many types of session in asp.net2.0
Answer Posted / 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 |
Post New Answer View All Answers
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
Explain how asp.net different from asp?
Can I read the hard disk serial # of the client computer using asp.net?
What is the use of response redirect in asp.net?
How does the iis work?
What is the difference between system.stringbuilder and system.string
Differentiate between file-based dependency and key-based dependency.
What are httphandlers and httpmodules and difference between them?
What is a web api? Which protocol is used in a web api?
Explain the main function of razor in asp.net? : asp.net mvc
Explain the difference between an exe and a dll?
What are the advantages of asp.net mvc framework? : asp.net mvc
What's the ASP.Net Application life cycle?
What is fulltrust?
What is application state?