System.Web.UI Namespace Page Class
Returns the Cache object associated with the application in which the page resides.
Script |
[ Cache variable = ] Page.Cache |
variable |
Returns the Cache object associated with the page's application. |
The property is read only with no default value.
Exception Type |
Condition |
HttpException |
Thrown if the Cache is not instantiated. |
An application's Cache object allows you to store and retrieve arbitrary data on subsequent requests . The cache is not specifically associated with a page or user session. It is used primarily to enhance application performance. For more information, see Caching Application Data.
Page Members