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 Session use Cookies in State Management?
What are the difference between function and stored procedure in .net programming language?
What is the difference between Proxy and Contract?
Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....
What is ipostback?
How to implement Authentication and Authorization?
how can we maintain security in soted procedure?
How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code?
About CLS and CTS?
8 Answers Microsoft, Syncfusion,
What is strong-typing versus weak-typing? Which is preferred? Why?
Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?
What are the validation controls available in ASP.NET?
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)