How many types of session in asp.net2.0
Answer Posted / 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 |
Post New Answer View All Answers
How do you do client-side validation in .net? How to disable validator control by client side javascript?
What are the different session state management options available in asp.net?
How will you do Redo and Undo in a TextControl?
What is a reflection?
Explain the asp.net session state modes.
How to retrieve user name in case of Window Authentication?
Is it true that a Web service must be written in .NET or not?
Where sessions are stored?
What is a windows service?
Write a code snippet to implement the indentation in json in web api.
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
Why do we need asp.net?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
What is the Difference between MVC And MVP design pattrens