ASP Expira Propriedade Absoluta
❮ Referência Completa do Objeto de Resposta
A propriedade ExpiresAbsolute define uma data e hora em que uma página em cache em um navegador expirará. Se um usuário retornar à mesma página antes dessa data/hora, a versão em cache será exibida.
Sintaxe
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. |
Exemplos
O código a seguir indica que a página expirará às 16h do dia 11 de outubro de 2012:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
❮ Referência Completa do Objeto de Resposta