ASP Response Object : ExpiresAbsolute Property
The ExpiresAbsolute property specifies the exact date and time at which a page cached on a browser expires. 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. All time values are converted to GMT before the header is sent.
<% Response.ExpiresAbsolute = #October 21, 2010 9:00:00# %>
This will cause the cached page to expire
at 9:00 AM on October 21, 2010
. If you left the 9:00:00
out, then it would expire at midnight
on October 21, 2010. If you left October 21, 2010
out, then it would expire at 9:00 AM today
Time values must be in 24 hour (military) form, and dates must use 4 digits for the year. If the ExpiresAbsolute property is set more than once on a page, then the earliest expiration date or time will be used.
Back to the ASP Response Object
Back to ASP Objects
All code is my own (but is rapidly falling under the influence of L. Ron Hubbard).