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

  1. <%@ LANGUAGE = JScript     %>
  2.  
  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.  
  16. <HTML>
  17.     <HEAD>
  18.         <TITLE>Setting Expiration Information</TITLE>
  19.     </HEAD>
  20.  
  21.     <BODY BGCOLOR="White" topmargin="10" leftmargin="10">
  22.  
  23.         <!-- Display Header -->
  24.  
  25.         <font size="4" face="Arial, Helvetica">
  26.         <b>Setting Expiration Information</b></font><br>
  27.       
  28.         <hr size="1" color="#000000">
  29.  
  30.         <p>This page will expire from your browser's cache in
  31.         10 minutes.  If it is after Jan. 1, 1999 (1:30 PM), then
  32.         the page will expire from the cache immediately.
  33.         
  34.     </BODY>
  35. </HTML>
  36.