The ASP ExpiresAbsolute Property is used for setting the date and time at which a page cached on a browser expires. If the same page is returned by the user before that date and time, the cached version is displayed.
Important Note: If time is not set, the page expires at midnight of that day. If a date is not set, the page expires at the given time on the day that the script runs.
Parameter Values: This Property contains two values as mentioned above and described below:
- date: It specifies the date when the cache page is expired.
- Time: It specifies the time at which the cache page is expired from the Browser.
Example: Below code illustrates that the page will be expired 2:00 pm on 23 March 2020.