asp.net.ph

Page.Cache Property

System.Web.UI Namespace   Page Class


Returns the Cache object associated with the application in which the page resides.

Syntax


Script [ Cache variable = ] Page.Cache

Property Value


variable Returns the Cache object associated with the page's application.

The property is read only with no default value.

Exceptions


Exception Type Condition
HttpException Thrown if the Cache is not instantiated.

Remarks

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.

See Also

Page Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note