What is the difference between a session object and cache object
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nitin
Session is Global Storage Mechanism accessible from all
pages in the Web Application.
Cache object allow to place items in server memory so that
they can be quickly retrieved after the First Requist.
| Is This Answer Correct ? | 3 Yes | 9 No |
How to fetch a data from one table to another table in asp.net ?
How to do Caching in ASP?
What is odata in web api?
Are xaml file compiled or built on runtime?
Define repository pattern in mvc.net? : asp.net mvc
Define reflection in .net?
how to write code for role based security
2. Why did you choose this career?
2 Answers Schwartz Oil, Swatz Oils,
what is client back feauture ?
Which is better viewstate or session?
What is ashx file in asp.net?
How long the items in ViewState exists?
0 Answers SwanSoft Technologies,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)