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("html");
out.println("body bgcolor=\"white\"");
out.println("head");

String title = "sessions.title";
out.println("title" + title + "/title");
out.println("/head");
out.println("body");
--
out.println("/body");
out.println("/html");
out.println("/body");
out.println("/html");




Re: Cache problem with IE -- IE setup

2001-03-16 Thread Tagunov Anthony

A wild guess: there may be some problem with the caching setup of the IE
you're using for testing. There are several options available, maybe yours
is _ALWAYS_ to cache.

On Fri, 16 Mar 2001 09:00:55 +0100, Zsolt Koppany wrote:

Hi Randy,

thank you for your answer. I tried everything proposed in this mail-list
(thanks everybody who tried to help) and found no solution. When tomcat
final 4.x comes out I will try it again.

Zsolt

Randy Layman wrote:
 
 Tomcat 3.x doesn't support sending responses back to the client in
 HTTP 1.1 - it only supports 1.0.  If you want to send responses back to the
 browser with HTTP 1.1 you must either use Apache, IIS, iPlanet, or some
 other web server in front of Tomcat, or use Tomcat 4, which is current 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 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, 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 /root/relative/path/to/file HTTP/1.0
  
   (two returns)
  
   Then look at the header (which will be at the top and may
  scroll off the
   screen). You can also try the HEAD command instead of GET.
  
   You might also try HTTP/1.1 instead of 1.0 and see what the
  responses are.
   If you get headers like the ones you set ("Pragma:
  no-cache", etc.) then
   the problem is with the browser not honoring them. In this
  case try the
   META versions instead. If you do not get those headers than your JSP
   container is not setting the headers for some reason.
  
   When you telnet look also for other headers like max-age
  and expires. You
   may have your server configured to set these for the file.
  The browser may
   be using these instead. Turn off Expires for the directory
  or location in
   question.
  
   Joe Laffey
   LAFFEY Computer Imaging
   St. Louis, MO
   --
  
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
  
 

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017
Tel: +49-711-7871080 Fax: +49-711-7871017






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");\


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:00 GMT");



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 our case was to add also the "no caching, please" piece of
html at the end of the pages. So our pages end up being something
like...
html
head
meta http-equiv="Expires" content="now" /
meta http-equiv="Cache-Control" content="no-cache,
must-revalidate"/
meta http-equiv="Pragma" content="no-cache" /
...
/head
body
...
/body
  head
meta http-equiv="Expires" content="now" /
meta http-equiv="Cache-Control" content="no-cache,
must-revalidate"/
meta http-equiv="Pragma" content="no-cache" /
  /head
/html
This trick works for us on all the browsers I have tested so far.
I hope this helps,
Dan
References:
http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP

http://support.microsoft.com/support/kb/articles/Q234/2/47.ASP




Tagunov Anthony wrote:
 
 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");\
 
 
 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:00 GMT");

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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, 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 /root/relative/path/to/file HTTP/1.0

 (two returns)

 Then look at the header (which will be at the top and may scroll off the
 screen). You can also try the HEAD command instead of GET.

 You might also try HTTP/1.1 instead of 1.0 and see what the responses are.
 If you get headers like the ones you set ("Pragma: no-cache", etc.) then
 the problem is with the browser not honoring them. In this case try the
 META versions instead. If you do not get those headers than your JSP
 container is not setting the headers for some reason.

 When you telnet look also for other headers like max-age and expires. You
 may have your server configured to set these for the file. The browser may
 be using these instead. Turn off Expires for the directory or location in
 question.

 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]






Re: Cache problem with IE

2001-03-14 Thread Manish Bhatnagar



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 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 below I can get netscape not to cache 
  a jsp page but itdoes not work with Internet-Explorer.Does anybody 
  know why?response.setHeader("Cache-Control", 
  "no-cache");response.setHeader("Pragma", 
  "no-cache");\Zsolt-- Zsolt KoppanyIntland GmbH 
  www.intland.comSchulze-Delitzsch-Strasse 
  16D-70565 StuttgartTel: +49-711-7871080 Fax: 
  +49-711-7871017-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, email: [EMAIL PROTECTED]


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-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 PC? What version? IE Mac has a lot of cache problems. For one, it
will not send a pragma: no-cache header to a proxy even when the user
tries to do a super reload. This is a bug that I have reported multiple
times. MS claims that this is correct behavior.. uh BS! The PC version
will set this header!


Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread Duncan Irvine

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
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
 
 
 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-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 



This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 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 PC? What version? IE Mac has a lot of cache problems. For one, it
 will not send a pragma: no-cache header to a proxy even when the user
 tries to do a super reload. This is a bug that I have reported multiple
 times. MS claims that this is correct behavior.. uh BS! The PC version
 will set this header!
 
 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 HttpServlet. The idea is to set a header in the response object to
indicate the modification time as being a few milliseconds ago, but
I don't recall the exact name of the header that needs to be set.

Sorry I couldn't be more helpful.

- Roby

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");\

 Zsolt

 --
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread Christopher Kirk


To verify Duncans point:
Cache-Control on the request is for proxies.
Cache-Control on the response is for proxies+browser.
(as stated by 'Core Servlets and JSPs by Marty Hall, published by Sun).


You could try Cache-Control 'no-store', or 'must-revalidate'.. to see if IE
handles them differently.

Also, 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-
 From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
 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 
 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
 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
  
  
  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-Delitzsch-Strasse 16
  D-70565 Stuttgart
  Tel: +49-711-7871080 Fax: +49-711-7871017
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
  
 
 
 **
 **
 This message contains information which may be privileged
 and confidential and subject to legal privilege. If you are not
 the intended recipient, you may not peruse, use, disseminate,
 distribute or copy this message. If you have received this 
 message in error, please notify the sender immediately by 
 e-mail, facsimile, or telephone and return or destroy the 
 original message. Sopheon and its officers are not responsible
 for any statements or material in this e-mail and in any attachment
 to it which might give rise to any criminal or civil claim.
 **
 **
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread David Oxley

Is there a proxy in between the server and browser. I have a vague memory
your supposed to use "no-store" instead of "no-cache". Someone please
correct me if this is false.

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', 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 HttpServlet. The idea is to set a header in the response object to
indicate the modification time as being a few milliseconds ago, but
I don't recall the exact name of the header that needs to be set.

Sorry I couldn't be more helpful.

- Roby

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");\

 Zsolt

 --
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany

No, there is no proxy, everything runs in a simple LAN.


David Oxley wrote:
 
 Is there a proxy in between the server and browser. I have a vague memory
 your supposed to use "no-store" instead of "no-cache". Someone please
 correct me if this is false.
 
 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', 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 HttpServlet. The idea is to set a header in the response object to
 indicate the modification time as being a few milliseconds ago, but
 I don't recall the exact name of the header that needs to be set.
 
 Sorry I couldn't be more helpful.
 
 - Roby
 
 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");\
 
  Zsolt
 
  --
  Zsolt Koppany
  Intland GmbH www.intland.com
  Schulze-Delitzsch-Strasse 16
  D-70565 Stuttgart
  Tel: +49-711-7871080 Fax: +49-711-7871017
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 HEAD)

META HTTP-EQUIV="Pragma" CONTENT="no-cache"

Though I don't know why it wouldn't work from the servlet. Have you tried
telnetting to your box and issuing an HTTP request manually? Perhaps the
headers are not actually getting set. This can happen if you send any
output to the output stream before setting the headers.

Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany

I have tried 'no-store' and 'must-revalidate' but none of them helped.


Christopher Kirk wrote:
 
 To verify Duncans point:
 Cache-Control on the request is for proxies.
 Cache-Control on the response is for proxies+browser.
 (as stated by 'Core Servlets and JSPs by Marty Hall, published by Sun).
 
 You could try Cache-Control 'no-store', or 'must-revalidate'.. to see if IE
 handles them differently.
 
 Also, 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-
  From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
  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
  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
  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
  
  
   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-Delitzsch-Strasse 16
   D-70565 Stuttgart
   Tel: +49-711-7871080 Fax: +49-711-7871017
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
 
 
  **
  **
  This message contains information which may be privileged
  and confidential and subject to legal privilege. If you are not
  the intended recipient, you may not peruse, use, disseminate,
  distribute or copy this message. If you have received this
  message in error, please notify the sender immediately by
  e-mail, facsimile, or telephone and return or destroy the
  original message. Sopheon and its officers are not responsible
  for any statements or material in this e-mail and in any attachment
  to it which might give rise to any criminal or civil claim.
  **
  **
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread Randy Layman


Just to clarify, if your page is a.jsp, do you mean the users causes
some request to the server that ends up going to a.jsp, or do you mean the
user uses the back button (or JavaScript history.back method) to view the
same page again?

If its the second case, then IE is working correctly - the back
buttons should view the same instance of the page as was orginally viewed.
To get around this I would suggest using a JavaScript event handler 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 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
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 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 PC? What version? IE Mac has a lot of cache problems. For one, it
 will not send a pragma: no-cache header to a proxy even when the user
 tries to do a super reload. This is a bug that I have reported multiple
 times. MS claims that this is correct behavior.. uh BS! The PC version
 will set this header!
 
 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread Samson, Lyndon [IT]

You could try outputting this header.

META HTTP-EQUIV='Expires' CONTENT='-1'

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: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread James Carroll


I've had success with the following:

META HTTP-EQUIV="Expires" CONTENT="Tues, 01 Jan 1980 00:00:00 GMT"

Which looks like this in a servlet:

response.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT");

Best Regards,
-James Carroll

MicroBrightField Inc. 

 -Original Message-
 From: 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 wrote:
  
  To verify Duncans point:
  Cache-Control on the request is for proxies.
  Cache-Control on the response is for proxies+browser.
  (as stated by 'Core Servlets and JSPs by Marty Hall, 
 published by Sun).
  
  You could try Cache-Control 'no-store', or 
 'must-revalidate'.. to see if IE
  handles them differently.
  
  Also, 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-
   From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
   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
   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
   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
   
   
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-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017
   
   
   
 -
To unsubscribe, e-mail: 
 [EMAIL PROTECTED]
For additional commands, email: 
 [EMAIL PROTECTED]
   
  
  
   **
   **
   This message contains information which may be privileged
   and confidential and subject to legal privilege. If you are not
   the intended recipient, you may not peruse, use, disseminate,
   distribute or copy this message. If you have received this
   message in error, please notify the sender immediately by
   e-mail, facsimile, or telephone and return or destroy the
   original message. Sopheon and its officers are not responsible
   for any statements or material in this e-mail and in any 
 attachment
   to it which might give rise to any criminal or civil claim.
   **
   **
  
   
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: 
 [EMAIL PROTECTED]
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 -- 
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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");%
HTML



Joe Laffey wrote:
 
 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 HEAD)
 
 META HTTP-EQUIV="Pragma" CONTENT="no-cache"
 
 Though I don't know why it wouldn't work from the servlet. Have you tried
 telnetting to your box and issuing an HTTP request manually? Perhaps the
 headers are not actually getting set. This can happen if you send any
 output to the output stream before setting the headers.
 
 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




AW: Cache problem with IE

2001-03-13 Thread Stefan Busse

IE has some strange caching policies. By saying "when the user JUST
comes back ..." do you mean "when he hits the [back]-Button or uses
javascript:history.back()" ? In this case, IE5.5 applies some kind
of timeout-rule: if you hit "back" within a short intervall, it will
display the cache, no matter how hard you try to tell it "don't do that".
After some time has passed, it will reload the page upon going back.
BTW, same problem if you type in an URL in the address-line: the cache
will be used.

You may look up this problem in php- or perl-related mailing-lists, there
seems to be no other solution then the already mentioned "pragma",
"cache-control" and "expiry-time"-headers.

*stefan

-- original message -
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Zsolt Koppany
Gesendet: Dienstag, 13. Mrz 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 wrote:

 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 PC? What version? IE Mac has a lot of cache problems. For one, it
 will not send a pragma: no-cache header to a proxy even when the user
 tries to do a super reload. This is a bug that I have reported multiple
 times. MS claims that this is correct behavior.. uh BS! The PC version
 will set this header!

 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 that
amount, the client must treat the cached copy as stale and reload it. Now,
as to whether IE abides by these rules or not...

Setting it in the JSP may be as simple as
'response.setHeader("Last-Modified",
java.util.Calendar.getInstance().getTime())', although you may need to
represent the time in ISO-9601 notation ('Wed, 15 Nov 1995 04:58:08 GMT').

Hope this helps.

- Roby

Joe Laffey wrote:

 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 HEAD)

 META HTTP-EQUIV="Pragma" CONTENT="no-cache"

 Though I don't know why it wouldn't work from the servlet. Have you tried
 telnetting to your box and issuing an HTTP request manually? Perhaps the
 headers are not actually getting set. This can happen if you send any
 output to the output stream before setting the headers.

 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 --

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany

This is the second case but with netscape I don't have any problems.

Randy Layman wrote:
 
 Just to clarify, if your page is a.jsp, do you mean the users causes
 some request to the server that ends up going to a.jsp, or do you mean the
 user uses the back button (or JavaScript history.back method) to view the
 same page again?
 
 If its the second case, then IE is working correctly - the back
 buttons should view the same instance of the page as was orginally viewed.
 To get around this I would suggest using a JavaScript event handler 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 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
 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 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 PC? What version? IE Mac has a lot of cache problems. For one, it
  will not send a pragma: no-cache header to a proxy even when the user
  tries to do a super reload. This is a bug that I have reported multiple
  times. MS claims that this is correct behavior.. uh BS! The PC version
  will set this header!
 
  Joe Laffey
  LAFFEY Computer Imaging
  St. Louis, MO
  --
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 --
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 /root/relative/path/to/file HTTP/1.0

(two returns)

Then look at the header (which will be at the top and may scroll off the
screen). You can also try the HEAD command instead of GET.

You might also try HTTP/1.1 instead of 1.0 and see what the responses are.
If you get headers like the ones you set ("Pragma: no-cache", etc.) then
the problem is with the browser not honoring them. In this case try the
META versions instead. If you do not get those headers than your JSP
container is not setting the headers for some reason.

When you telnet look also for other headers like max-age and expires. You
may have your server configured to set these for the file. The browser may
be using these instead. Turn off Expires for the directory or location in
question.

Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Cache problem with IE

2001-03-13 Thread Randy Layman


It has been some time since I've read the spec, but I believe that
the browsers are free to choose their own implementation for the Back button
and how it interacts with the cache.  If I remember correctly, the preferred
(by the spec) implementation is to show the page as it was last viewed by
the user.  Netscape does this, if the content is still valid (caches are
invalid due to expiring headers, etc).  Since you set the headers Netscape
is performing the way you want it, but IE, in Microsoft's infinite wisdom,
choose to do things a different way.  The best way I've found to work with
this is to use the onLoad/onUnload event handlers of the BODY tag along with
some JavaScript variable like firstView.  Page generated with variable set
to true, onUnload sets it to false.  In the onLoad method, if the value is
false then reload the page.  Its pretty straightforward (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


This is the second case but with netscape I don't have any problems.

Randy Layman wrote:
 
 Just to clarify, if your page is a.jsp, do you mean the users
causes
 some request to the server that ends up going to a.jsp, or do you mean the
 user uses the back button (or JavaScript history.back method) to view the
 same page again?
 
 If its the second case, then IE is working correctly - the back
 buttons should view the same instance of the page as was orginally viewed.
 To get around this I would suggest using a JavaScript event handler 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 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
 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 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 PC? What version? IE Mac has a lot of cache problems. For one,
it
  will not send a pragma: no-cache header to a proxy even when the user
  tries to do a super reload. This is a bug that I have reported multiple
  times. MS claims that this is correct behavior.. uh BS! The PC version
  will set this header!
 
  Joe Laffey
  LAFFEY Computer Imaging
  St. Louis, MO
  --
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 --
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 vs post, presence of cookies etc etc)

I believe that pragma and cache-control are only used by the browser.

hth

***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED] 250-334-8309 home
***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Cache problem with IE

2001-03-13 Thread Johnathan Smith

Did you get it to work?

--- Zsolt Koppany [EMAIL PROTECTED] wrote:
 How can I specify HTTP/1.1?
 
 
 Christopher Kirk wrote:
  
  To verify Duncans point:
  Cache-Control on the request is for proxies.
  Cache-Control on the response is for
 proxies+browser.
  (as stated by 'Core Servlets and JSPs by Marty
 Hall, published by Sun).
  
  You could try Cache-Control 'no-store', or
 'must-revalidate'.. to see if IE
  handles them differently.
  
  Also, 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-
   From: Duncan Irvine
 [mailto:[EMAIL PROTECTED]]
   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
   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
   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
   
   
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-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017
   
   
  

-
To unsubscribe, e-mail:
 [EMAIL PROTECTED]
For additional commands, email:
 [EMAIL PROTECTED]
   
  
  
  

**
   **
   This message contains information which may be
 privileged
   and confidential and subject to legal privilege.
 If you are not
   the intended recipient, you may not peruse, use,
 disseminate,
   distribute or copy this message. If you have
 received this
   message in error, please notify the sender
 immediately by
   e-mail, facsimile, or telephone and return or
 destroy the
   original message. Sopheon and its officers are
 not responsible
   for any statements or material in this e-mail
 and in any attachment
   to it which might give rise to any criminal or
 civil claim.
  

**
   **
  
  

-
   To unsubscribe, e-mail:
 [EMAIL PROTECTED]
   For additional commands, email:
 [EMAIL PROTECTED]
  
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, email:
 [EMAIL PROTECTED]
 
 -- 
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, email:
 [EMAIL PROTECTED]
 


=
If your into Body For Life, check out
http://clubs.yahoo.com/clubs/bodyforlifestatenislandny

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Cache problem with IE

2001-03-13 Thread Zsolt Koppany

No, I didn't.

Can the reason be that I try to do it from JSP and not from a servlet.
But again, it works with netscape but not with IE.


Johnathan Smith wrote:
 
 Did you get it to work?
 
 --- Zsolt Koppany [EMAIL PROTECTED] wrote:
  How can I specify HTTP/1.1?
 
 
  Christopher Kirk wrote:
  
   To verify Duncans point:
   Cache-Control on the request is for proxies.
   Cache-Control on the response is for
  proxies+browser.
   (as stated by 'Core Servlets and JSPs by Marty
  Hall, published by Sun).
  
   You could try Cache-Control 'no-store', or
  'must-revalidate'.. to see if IE
   handles them differently.
  
   Also, 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-
From: Duncan Irvine
  [mailto:[EMAIL PROTECTED]]
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
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
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


 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-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017


   
 
 -
 To unsubscribe, e-mail:
  [EMAIL PROTECTED]
 For additional commands, email:
  [EMAIL PROTECTED]

   
   
   
 
 **
**
This message contains information which may be
  privileged
and confidential and subject to legal privilege.
  If you are not
the intended recipient, you may not peruse, use,
  disseminate,
distribute or copy this message. If you have
  received this
message in error, please notify the sender
  immediately by
e-mail, facsimile, or telephone and return or
  destroy the
original message. Sopheon and its officers are
  not responsible
for any statements or material in this e-mail
  and in any attachment
to it which might give rise to any criminal or
  civil claim.
   
 
 **
**
   
   
 
 -
To unsubscribe, e-mail:
  [EMAIL PROTECTED]
For additional commands, email:
  [EMAIL PROTECTED]
   
  
  
 
 -
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, email:
  [EMAIL PROTECTED]
 
  --
  Zsolt Koppany
  Intland GmbH www.intland.com
  Schulze-Delitzsch-Strasse 16
  D-70565 Stuttgart
  Tel: +49-711-7871080 Fax: +49-711-7871017
 
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, email:
  [EMAIL PROTECTED]
 
 
 =
 If your into Body For Life, check out
 http://clubs.yahoo.com/clubs/bodyforlifestatenislandny
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices.
 http://auctions.yahoo.com/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]