ASPExpiresAbsoluteプロパティ_
❮完全な応答オブジェクトリファレンス
ExpiresAbsoluteプロパティは、ブラウザにキャッシュされたページが期限切れになる日時を設定します。ユーザーがこの日時より前に同じページに戻ると、キャッシュされたバージョンが表示されます。
構文
response.ExpiresAbsolute[=[date][time]]
Parameter | Description |
---|---|
date | Specifies the date on which the page will expire.
If this parameter is not specified, the page will expire at the specified time on the day that the script is run. |
time | Specifies the time at which the page will expire.
If this parameter is not specified, the page will expire at midnight of the specified day. |
例
次のコードは、ページが2012年10月11日の午後4時に期限切れになることを示しています。
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
❮完全な応答オブジェクトリファレンス