W3Schools.com

ASP ExpiresAbsolute Property


Response Object Reference Complete Response Object Reference

The ExpiresAbsolute property sets a date and time when a cached page on a browser will expire. If a user returns to the same page before this date/time, the cached version is displayed.

Syntax

response.ExpiresAbsolute[=[date][time]]

Parameter Description
date Specifies the date on which the page will expire.

If this parameter is not specified, the page will expire at the specified time on the day that the script is run.

time Specifies the time at which the page will expire.

If this parameter is not specified, the page will expire at midnight of the specified day.

Examples

The following code indicates that the page will expire at 4:00 PM on October 11, 2012:

<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>


Response Object Reference Complete Response Object Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE