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 Fragment Caching in ASP.NET?
2 Answers MCN Solutions, pspl, Wipro,
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this....
3 Answers Chaitanya, Crysalis, CTS, HCL, Sein Infotech, TCS,
Why session management is required?
define silverlight and advantages ?
what is loosely coupled solution? How it can be used?
How could you modify xaml content from javascript?
What is the maximum number of classes that can be contained in one dll file?
Code for scolling in gridview
What does the "EnableViewState" property do? Why would I want it on or off?
Any disadvantages in Dataset and in reflection ?
What is a session http?