Platform SDK: IIS SDK |
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 runs.
Response.ExpiresAbsolute [= [date][time]]
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 P.M. on May 31, 2001.
<% Response.ExpiresAbsolute=#May 31,2001 13:30:15# %>
Platforms: Windows 2000 with IIS 5.0 installed,
Windows XP with IIS 5.1 installed,
Windows Server 2003 family with IIS 6.0 installed
What did you think of this topic? |
Order a Platform SDK CD |