What is the difference between application and cache variables?
Answer Posted / prasanna
In application state we have to lock and unlock the
application.In cache it is not required. A cache object
supports dependencies such as file dependencies and SQL
dependencies.If there is any change in the file or in the
database tables cache expires.But an application does not
support dependencies.Cache objects employ expiration
policies whereas an application variable does not have the
expiration set.It has the life of the application.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How you can stop the validation of ASP.NET controls from client side?
How many types of sessions are there in asp net?
What are the page life cycle events?
How does a web application session work?
List the events in page life cycle.
How do http sessions work?
Out of ASP or ASP.NET which one is stateless?
Why session is necessary in web application?
What is a reflection?
What is difference in .net 1.1 and .net 2.0?
What are web beacons used for?
What is Partial PostBack in ASP.NET?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
What is data caching?
What are the memory-mapped files?