Isabelle,

If you're using servlets to send the images to the browser, you may set the
following before you start passing the image contents:

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


Jacob

-----Original Message-----
From: Isabelle Bourret [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 06, 2000 7:38 AM
To: [EMAIL PROTECTED]
Subject: set expiration for images


Hello,

On Netscape, when a page is resent, the images are not reloaded inside the
page.
I'm wondering if there's a way to tell not to cache an image or set its
expiration date, something similar to the setHeader on the response.

I was thinking that setting the expiration date or the cache option on the
page would be enough, but it's not the case.

Thank you very much for any idea on this matter.

Isabelle

___________________________________________________________________________
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