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.
Response.ExpiresAbsolute [= [date] [time]]
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 an Expires header is sent.
If this property is set more than once on a page, the earliest expiration date or time is used.
The following example specifies that the page will expire 15 seconds after 1:30 pm on May 31, 1996.
<% Response.ExpiresAbsolute=#May 31,1996 13:30:15# %>
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/obj/introbj_19.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/11/19 17:12,
18.218.62.194:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/asp/obj/introbj_19.htm"> ExpiresAbsolute</A> |
Did you find what you needed? |