Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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");\ Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Del

Re: Cache problem with IE

2001-03-13 Thread Joe Laffey
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

RE: Cache problem with IE

2001-03-13 Thread Duncan Irvine
ol settings are there to stop intermediate caches from falsely reporting a page as not having changed. Duncan. > -Original Message- > From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] > Sent: 13 March 2001 16:13 > To: [EMAIL PROTECTED] > Subject: Cache problem with IE > &g

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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

Re: Cache problem with IE

2001-03-13 Thread Roby Gamboa
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

RE: Cache problem with IE

2001-03-13 Thread Christopher Kirk
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

RE: Cache problem with IE

2001-03-13 Thread David Oxley
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

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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

Re: Cache problem with IE

2001-03-13 Thread Joe Laffey
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

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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]' >

RE: Cache problem with IE

2001-03-13 Thread Randy Layman
-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

RE: Cache problem with IE

2001-03-13 Thread Samson, Lyndon [IT]
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

RE: Cache problem with IE

2001-03-13 Thread James Carroll
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

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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. >

AW: Cache problem with IE

2001-03-13 Thread Stefan Busse
Zsolt Koppany Gesendet: Dienstag, 13. März 2001 17:32 An: [EMAIL PROTECTED] Betreff: 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 page executed again to show up to date information. Joe Laffey

Re: Cache problem with IE

2001-03-13 Thread Roby Gamboa
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

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
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

Re: Cache problem with IE

2001-03-13 Thread Joe Laffey
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

RE: Cache problem with IE

2001-03-13 Thread Randy Layman
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

Re: Cache problem with IE

2001-03-13 Thread Brett Knights
> 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

Re: Cache problem with IE

2001-03-13 Thread Johnathan Smith
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-----

Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany
, 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- >

Re: Cache problem with IE

2001-03-14 Thread Tagunov Anthony
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");\ >

Re: Cache problem with IE

2001-03-14 Thread Daniel Lopez
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

Re: Cache problem with IE

2001-03-14 Thread Brett Knights
> 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

Re: Cache problem with IE

2001-03-14 Thread josé placide
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

RE: Cache problem with IE

2001-03-14 Thread Kwan, Kenneth Y
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

Re: Cache problem with IE

2001-03-14 Thread Manish Bhatnagar
agma", "no-cache"); It's working fine for me. IE5, NN4.7 on Win 98, Tomcat Regards, Manish - Original Message - From: Zsolt Koppany To: [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 9:43 PM Subject: Cache problem with IE Hi,with the code

RE: Cache problem with IE

2001-03-15 Thread Randy Layman
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

Re: Cache problem with IE

2001-03-15 Thread Zsolt Koppany
> > > -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, >

Re: Cache problem with IE

2001-03-16 Thread josé placide
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("

Re: Cache problem with IE -- IE setup

2001-03-16 Thread Tagunov Anthony
>> >> > -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 >> > >> >