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 |
Is asp.net and .net the same?
What is a viewstate?
How will u decide when to use caching and when to use viewstate?
Types of optimization and name a few and how do u do?
Explain transparent caching with aop?
Is web config mandatory?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?
What is Bundling and Minification in MVC?
What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1
What is session state server?
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)