ASP ExpiresAbsolute Property
❮ Полная ссылка на объект ответа
Свойство 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. |
Примеры
Следующий код указывает, что срок действия страницы истечет в 16:00 11 октября 2012 г.:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
❮ Полная ссылка на объект ответа