>>
>> > -Original Message-
>> > From: josé placide [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, March 14, 2001 6:29 PM
>> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> > Subject: Re: Cache problem with IE
>> >
>> >
OUF !!!
The config win2k + Tomcat3.2 + Jbuilder 4
in tomcat 3.2 folder's there is some examples how show how to do !
it's ugly,but it work!
Merci a tous,merci thomas
>From SessionExample.java :
out.println("");
out.println("");
out.println("");
String title = "sessions.title";
out.println("
>
> > -Original Message-
> > From: josé placide [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 14, 2001 6:29 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Cache problem with IE
> >
> >
> > Hello,
>
nt in
development.
Randy
> -Original Message-
> From: josé placide [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 6:29 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> Hello,
>
>
> Could so
Try the following code:
httpservletresponse.setHeader("Expires","0"); httpservletresponse.setHeader("Cache-Control",
"no-cache"); httpservletresponse.setHeader("Cache-Control",
"no-store"); httpservletresponse.setHeader("Pragma",
"no-cache");
It's working fine for me.
IE5, NN4.7 on Win
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:Re: Cache problem with IE
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey&quo
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 7:41 PM
Subject: Re: Cache problem with IE
> On Tue, 1
> Hitting the same problem we used at
> http://www.mavicanet.com
> and it works both on NS and IE!
>
> response.setHeader("Pragma","no-cache");
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Expires","Thu, 01 Dec 1994
> 16:00:0
Hi,
AFAIL, this doesn't work with some IE versions(5 and above I think) the
problem is caused because IE5+ decides whether it wonts to cache the
page if the page is greater than 32k. So, when it decides that the page
has to be cached, the headers have been long ago forgotten :(. The
solution in o
On Tue, 13 Mar 2001 17:13:14 +0100, Zsolt Koppany wrote:
>Hi,
>
>with the code below I can get netscape not to cache a jsp page but it
>does not work with Internet-Explorer.
>Does anybody know why?
>
>
>response.setHeader("Cache-Control", "no-cache");
>response.setHeader("Pragma", "no-cache");\
>
, you are setting the response
> > to HTTP/1.1? Pragma was
> > > never consistent between browsers, and
> > Cache-Control will only be used if
> > > the response specifies HTTP/1.1.
> > >
> > > - Chris.
> > >
> > > > -Original Message-
>
just to check, you are setting the response
> to HTTP/1.1? Pragma was
> > never consistent between browsers, and
> Cache-Control will only be used if
> > the response specifies HTTP/1.1.
> >
> > - Chris.
> >
> > > -----Original Message-----
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
I have always also used the expires header for dynamic pages.
My understanding is that this is the only header used by caching proxies for
determining whether or not to cache a page (aside from
get
orward (but you need to
check the exact name of the handlers, my JavaScript book isn't at my desk
right now).
Randy
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> I do it from a JSP and not from a servlet and the page look like:
>
> <%response.setHeader("Cache-Control",
> "no-cache");response.setHeader("Pragma", "no-cache");%>
OK,
Try telnetting to your box and issue the HTTP command:
GET / HTTP/1.0
(two retu
ndler like
> onLoad that reloads the page.
>
> If its the first case, continue to read the other posts in this
> thread.
>
> Randy
>
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 11:32 A
In looking over the HTTP/1.1 spec, the header to set is 'Last-Modified'. In
the spec documentation, though, they state that there's 60 seconds of slop
allowed, in the event that the browser and server clocks are out of sync.
Still, they say that if the cached copy differs from the server copy by t
I do it from a JSP and not from a servlet and the page look like:
<%response.setHeader("Cache-Control",
"no-cache");response.setHeader("Pragma", "no-cache");%>
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > No, there is no proxy, everything runs in a simple LAN.
>
m: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> I have tried 'no-store' and 'must-revalidate' but none of them helped.
>
>
> Christopher Kirk wr
You could try outputting this header.
Failing that just tack a random number ( System.currentTimeMillis() ) onto
each URL to guarentee uniqueness.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [E
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
browsers, and Cache-Control will only be used if
> the response specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
>
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> No, there is no proxy, everything runs in a simple LAN.
You can also try adding the following at the top of your HTML document:
(in the )
Though I don't know why it wouldn't work from the servlet. Have you tried
telnetting to your box and issuing an
sponse specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Cache problem with IE
> >
> >
> > I
e.
>
> Dave.
> [EMAIL PROTECTED]
>
> -Original Message-
> From: Roby Gamboa [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 16:47
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
> You could try having the JSP set its modified time to 'now
13 March 2001 16:47
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do t
CTED]]
> Sent: 13 March 2001 16:25
> To: '[EMAIL PROTECTED]'
> Subject: RE: Cache problem with IE
>
>
> I'm sure someone will jump on this from a great height if I'm
> wrong, but I
> seem to recall that the cache settings are for intermediate
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do this in
JSP land, but servlets do it by implementing getLastModified(), derived
from HttpServ
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
page executed again to show up to date information.
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > Hi,
> >
> > with the code below I can get netscape
I'm sure someone will jump on this from a great height if I'm wrong, but I
seem to recall that the cache settings are for intermediate caches - not the
browser. The browser can cache pages as it sees fit - provided that it
checks to see if they've been updated, but the cache control settings are
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> Hi,
>
> with the code below I can get netscape not to cache a jsp page but it
> does not work with Internet-Explorer.
> Does anybody know why?
>
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");\
Mac, or P
31 matches
Mail list logo