Microsoft Knowledge Base |
|
How to use Pragma: No-Cache with IIS and IE |
|
|
Last reviewed: October 21, 1997
Article ID: Q164673 |
|
The information in this article applies to:
To prevent most Web browsers' clients from caching Web pages, it may be necessary to use the Pragma: No-cache header. The following code can be used in an Active Server Page to insert the Pragma: No-cache tag into the HTTP header. This script code MUST be the first line of the ASP file.
<% Response.AddHeader "Pragma", "No-Cache" %> Keywords : iishowto Version : winnt:3.0 Platform : winnt |
|
================================================================================
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |