ASP Response.Expires() - Response Object Gets or sets the number of minutes before a page cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed.
ShotDev Focus:
- The number of minutes before the page expires.
Example
asp_response_expires.asp
<% Option Explicit %>
<% Response.Expires = 1200 %>
<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_expires.asp
Screenshot
.
.
.
 
			



 Loading ...
 Loading ...