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 would you get asp.net running in apache web servers? Explain it's limitations.
What is asp.net master page?
What is Pre-Render event in ASP.NET?
How can you make sure that web api returns json data only?
In which situation can you not use a viewstate?
COM+ Used ________________ Isolation Level
Can asp.net work on an nt server?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
What is datagrid asp.net?
Why asp.net is used?
What is a web server? What are the load limits in it?
What is advantage of asp.net?
What is ispostback method in asp.net?
How can exception be handled with out the use of try catch?
What is autopostback true?