home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / Expire_VBScript.asp < prev    next >
Text File  |  1997-10-25  |  881b  |  35 lines

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit        %>
  3.  
  4. <%
  5.     ' Because the Expiration Information is sent in the HTTP
  6.     ' headers, it must be set before any HTML is transmitted
  7.  
  8.     ' Ensure that this page expires within 10 minutes...    
  9.     Response.Expires = 10
  10.     
  11.     ' ...or before Jan 1, 1999, which ever comes first
  12.     Response.ExpiresAbsolute="Jan 1,1999 13:30:15"     
  13. %>
  14.  
  15. <HTML>
  16.     <HEAD>
  17.         <TITLE>Setting Expiration Information</TITLE>
  18.     </HEAD>
  19.  
  20.     <BODY BGCOLOR="White" topmargin="10" leftmargin="10">
  21.  
  22.         <!-- Display Header -->
  23.  
  24.         <font size="4" face="Arial, Helvetica">
  25.         <b>Setting Expiration Information</b></font><br>
  26.       
  27.         <hr size="1" color="#000000">
  28.  
  29.         <p>This page will expire from your browser's cache in
  30.         10 minutes.  If it is after Jan. 1, 1999 (1:30 PM), then
  31.         the page will expire from the cache immediately.
  32.         
  33.     </BODY>
  34. </HTML>
  35.