This doesn't clear the browser's cache, but does forces page to be
re-retrieved (i.e. not cached).  It may be overkill, but it was given to us
and I've found it works just fine in all both Netscape and IE.   And yes, we
use it exactly as written, with all the gory details on the time stamps.
(I imagine similar far-out or way-back dates would work as well, but never
tried it.)

                        res.setHeader("Pragma", "no-cache");
                        res.setHeader("Expires", "Tue, 25 Dec 1993 23:59:59
GMT");
                        res.setHeader("Cache-control", "no-cache");
                        res.setHeader("Last-Modified", "FRI, JAN 29 2099
23:59:59 GMT");

Carol Lietz
Unigraphics Solutions


-----Original Message-----
From: Abdulaleem Muneer [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 7:59 AM
To: [EMAIL PROTECTED]
Subject:


hi zulfi...
   thanks for responding......
   but this is not at all working.........means in netscape..

-----Original Message-----
From: zulfi [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 2:36 PM
To: [EMAIL PROTECTED]
Subject:


<meta http-equiv="Cache-Control" content="no-cache">

regards
zulfi



----- Original Message -----
From: Abdulaleem Muneer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 21, 2000 5:56 PM


> hi,
>  how to clear the cache using html or javascript...
> thanks in advance...
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to