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 |
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
What is page request in asp.net?
What is JIT and how is works ?
What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError
Why is asp.net so popular?
Which template must you provide, in order to display data in a Repeater control?
3 Answers Siebel Systems, Wipro,
What are the major built-in objects in ASP.NET?
Where is session data stored in asp net?
Explain the basic functionality of garbage collector?
Explain different types of Caching techniques in ASP.NET?
0 Answers Sans Pareil IT Services,
What websites use asp.net?
What are the different kinds of assemblies?
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)