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
What are the differences between application object and session object?
What are the Types of objects in ASP
What are the 3 types of web?
Explain the components of web form in asp.net
Describe SOA and the tenets of it?
What are the different properties of server control that exists?
Explain the use of fragment caching.
Explain how can we inherit a static variable?
What is round trip in asp.net?
Why Unload event of MasterPage Calls first in ASP.net ?
List the types of authentication supported by asp.net?
Explain difference between dataset and recordset?
What is ispostback method in asp.net?
What is sql data source control in asp.net?
what cut off mark for po's,what questions they asked for interview?