or u  can use it
response.setHeader("Cache-Control","no-cache"); 
                response.setHeader("Pragma","no-cache"); //HTTP 1.0
                response.setDateHeader ("Expires", 0); //prevents caching at
the proxy server

> -----Original Message-----
> From: Rick Roberts [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, February 09, 2001 10:58 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: IE Caching
> 
> Try this:
> 
> <%
> response.setHeader("Pragma", "no-cache");
> if( request.getProtocol().equals("HTTP/1.1") ) {
>   response.setHeader("Cache-Control", "no-cache");
> }
> %>
> 
> I hope it helps.
> It worked for me.
> 
> 
> Rick
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to