ASP ExpiresAbsolute property
ExpiresAbsolute property is set cached pages expiration date and time on the browser. If the user before this date / time returned with a page, it will show the cached version.
grammar
response.ExpiresAbsolute[=[date][time]]
参数 | 描述 |
---|---|
date | 规定页面的失效日期。
如果不规定此参数,那么页面会在脚本运行当日的指定时间失效。 |
time | 规定页面的失效时间。
如果不规定此参数,那么页面会在指定日期的午夜失效。 |
Examples
The following code indicates that the page will expire in 2012 Oct Nov 4:00 PM:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
Complete Response Object Reference