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 |
What is recordset asp?
What I need to create and run an asp.net application?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
What is the difference between dynamic SGA and static SGA?
What tags do you need to add within the asp:datagrid tags to bind columns manually?
What for use web.sitemap in asp.net?
Is oauth for authentication or authorization?
what is asp.net
What is inproc mode in session?
Define an assembly?
Difference between overriding and overloading?
what is SQL cache Invalidation?
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)