try with

        response.setHeader("pragma", "no-cache"); // no caching
        response.setHeader("Cache-Control", "no-cache");
        response.setDateHeader("Expires",-1);

> Hi
>   I am trying to set the no-cache option in JSP by using
>
>     response.setHeader("Cache-Control","no-cache");
>     response.setHeader("Cache-Control","no-store");
>     response.setHeader("Pragma","no-cache");
>     response.setHeader("Cache-Control","max-age=0");
>
> It works with Netscape.But with IE it doesn't work.Can anyone of u
help me out how to set the no-cache option for IE.
>
> Thanks & Regards
> Prasanna.G.
>
>
> _______________________________________
> Click here to get your free domain name
> and personal portal from NAMEzero(TM):
> http://www.namezero.com
>
>
========================================================================
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to