What is the difference between a session object and cache object
Answer Posted / asif ismail kunnibhavi
Caching :- used to minimize the DB/Server hit and improves
Performance.data is available to all users.Can expire
automatically once duration is specified and untill memory
is available or expires as application restarts.
Session :- used to store data specific to user and remains
untill user loggs off or session expires. usually session
lasts for 20 minutes(configurable)
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
How do you sign out from forms authentication?
What is the server of asp.net?
What are the main advantages of using asp.net?
What methods are fired during the page load? Init()
What are Master Pages in ASP.NET? or What is a Master Page?
9. Why should we hire you over the others waiting to be interviewed?
What is preprocessor in .net and type, where it use?
Describe the disadvantage of cookies.
Can you explain how ASP.NET application life cycle and page life cycle events fire?
What is the use of view state?
In how many ways we can retrieve table records count?
Explain the difference between web user control and web custom control?
what is AutoEventWireUp and what is the use of This property explain in details?
Explain the working of passport authentication.
What are the Types of object in asp