web 2.0

ASP Response.ExpiresAbsolute - Response Object

ASP Response.ExpiresAbsolute() - Response Object Gets or sets the absolute date and time at which to remove cached information from the cache. Response.ExpiresAbsolute is provided for compatibility with earlier versions of ASP.

ShotDev Focus:
- The date and time at which the page expires.

Example

asp_response_expiresabsolute.asp


<% Option Explicit %>
<% Response.ExpiresAbsolute = #October 10,2008 16:00:00# %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Response.write("Welcome To www.ShotDev.Com<br>")
Response.write("Now = "& Now())
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_response_expiresabsolute.asp

Screenshot

ASP & Response.ExpiresAbsolute()

.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.