6.3.12 ExpiresAbsolute Property

The ExpiresAbsolute property specifies the date and time at which a page cached on a browser expires. If the user returns to the same page before that date and time, the cached version is displayed. If a time is not specified, the page expires at midnight of that day. If a date is not specified, the page expires at the given time on the day that the script is run.
Syntax
Reponse.ExpiresAbsolute = [date] [time]
Parameters
- date
- Specifies the date on which the page will expire. The value sent in the expires header conforms to the RFC-1123 date format.
- time
- Specifies the time at which the page will expire. This value is converted to GMT before the header is sent.
Remarks
If this property is set more than once on a page, the earliest time is used.
Example
The following example sets the page to expire 15 seconds after 1:30 p.m. on May 31, 1996:
Response.ExpiresAbsolute = #May 31, 1996 13:30:15#
Copyright © 2000 Chili!Soft
|