ASP ExpiresAbsolute Property


❮ Dokončete referenci objektu odezvy

Vlastnost ExpiresAbsolute nastavuje datum a čas, kdy vyprší platnost stránky uložené v mezipaměti v prohlížeči. Pokud se uživatel vrátí na stejnou stránku před tímto datem/časem, zobrazí se verze uložená v mezipaměti.


Syntax

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.


Příklady

Následující kód označuje, že platnost stránky vyprší 11. října 2012 v 16:00:

<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>

❮ Dokončete referenci objektu odezvy