Re: Mysterious (I think caching) Problem with IE 6 and Form Authentication under SSL (Tomcat 5.0.x)

2004-11-23 Thread Angel Cervera Claudio
I have same problem and i don't find any answer to resolved. :(
SOS!! :(
Did you resolved this problem? How?


El mar, 19-10-2004 a las 12:15 +0200, Martin Grüneberg escribió:
> Hello,
> 
> I have a real strange Problem with Tomcat and IE
> When I get forwarded to the login page of my application and enter
> my account data I always get the following message:
> 
> HTTP Status 408 - The time allowed for the login process has been exceeded.
> If you wish to continue you must either click back twice and re-click the
> link you requested or close and re-open your browser 
> 
> But following the instructions does always result in the same errormessage.
> With every other browser even InternetExplores on other Machines (same
> version) I can login without any Problem.
> I think IE caches the error page somewhere because in the logfile the login
> is logged as "success"
> I tried everthing delete temporary internetfiles /cookies nothing worked!
> Funny is, when I copy the installation to an other machine (other
> hostname/ip) I can login with my IE without any Problem.
> 
> If someone knows something about this problem, please give me a hint! 
> 
> greetings
> Martin Grüneberg
> 
> 
> 
> Virus checked by G DATA AntiVirusKit
> Version: AVK 15.0.551 from 19.10.2004
> Virus news: www.antiviruslab.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



Mysterious (I think caching) Problem with IE 6 and Form Authentication under SSL (Tomcat 5.0.x)

2004-10-19 Thread Martin Grüneberg
Hello,

I have a real strange Problem with Tomcat and IE
When I get forwarded to the login page of my application and enter
my account data I always get the following message:

HTTP Status 408 - The time allowed for the login process has been exceeded.
If you wish to continue you must either click back twice and re-click the
link you requested or close and re-open your browser 

But following the instructions does always result in the same errormessage.
With every other browser even InternetExplores on other Machines (same
version) I can login without any Problem.
I think IE caches the error page somewhere because in the logfile the login
is logged as "success"
I tried everthing delete temporary internetfiles /cookies nothing worked!
Funny is, when I copy the installation to an other machine (other
hostname/ip) I can login with my IE without any Problem.

If someone knows something about this problem, please give me a hint! 

greetings
Martin Grüneberg



Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.551 from 19.10.2004
Virus news: www.antiviruslab.com


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



Re: Problem with IE

2002-02-07 Thread amohammad

I treid this URL and changed your first name with mine.It is working fine.

Ahmed
-
- Original Message -
From: "Uma Maheswar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 8:33 PM
Subject: Re: Problem with IE


> Hi,
> It is a sample one that I gave you, It is working for me too. Please try
> this
> http://www.globalleafs.com/Login.html
>
> User ID: kiran
> Password: kiran
>
> and then when you try clicking on any URL, you get HTTP 404 File not
found.
> But the same works fine in Netscape. Please check it.
>
> Uma
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 08, 2002 9:53 AM
> Subject: Re: Problem with IE
>
>
> > I have connected to the URL you have mentioned using IE6 and i got
> following
> > response
> > "Connected to database inside Test Servlet.java uma uma ".what version
of
> IE
> > you are using?
> >
> > Ahmed
> > - Original Message -----
> > From: "Uma Maheswar" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Thursday, February 07, 2002 8:17 PM
> > Subject: Problem with IE
> >
> >
> > Hi,
> > I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not
> get
> > my files working on IE with this kind of URL
> > http://globalleafs.com:8080/globalleafs/servlet/TestServlet
> >
> > But the same URL works fine in Netscape. What could be the problem?
> >
> > Uma
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Problem with IE

2002-02-07 Thread Uma Maheswar

Hi Brian,
It is a sample one that I gave you, It is working for me too. Please try
this
http://www.globalleafs.com/Login.html

User ID: kiran
Password: kiran

and then when you try clicking on any URL, you get HTTP 404 File not found.
But the same works fine in Netscape. Please check it.

Uma



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 





Re: Problem with IE

2002-02-07 Thread Uma Maheswar

Hi,
It is a sample one that I gave you, It is working for me too. Please try
this
http://www.globalleafs.com/Login.html

User ID: kiran
Password: kiran

and then when you try clicking on any URL, you get HTTP 404 File not found.
But the same works fine in Netscape. Please check it.

Uma
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 9:53 AM
Subject: Re: Problem with IE


> I have connected to the URL you have mentioned using IE6 and i got
following
> response
> "Connected to database inside Test Servlet.java uma uma ".what version of
IE
> you are using?
>
> Ahmed
> - Original Message -
> From: "Uma Maheswar" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, February 07, 2002 8:17 PM
> Subject: Problem with IE
>
>
> Hi,
> I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not
get
> my files working on IE with this kind of URL
> http://globalleafs.com:8080/globalleafs/servlet/TestServlet
>
> But the same URL works fine in Netscape. What could be the problem?
>
> Uma
>
>
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Problem with IE

2002-02-07 Thread amohammad

I have connected to the URL you have mentioned using IE6 and i got following
response
"Connected to database inside Test Servlet.java uma uma ".what version of IE
you are using?

Ahmed
- Original Message -
From: "Uma Maheswar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 8:17 PM
Subject: Problem with IE


Hi,
I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not get
my files working on IE with this kind of URL
http://globalleafs.com:8080/globalleafs/servlet/TestServlet

But the same URL works fine in Netscape. What could be the problem?

Uma






--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Problem with IE

2002-02-07 Thread Brian Adams

Worked for me!
 :)
in both


-Original Message-
From: Uma Maheswar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 10:18 PM
To: Tomcat Users List
Subject: Problem with IE


Hi,
I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not get
my files working on IE with this kind of URL
http://globalleafs.com:8080/globalleafs/servlet/TestServlet

But the same URL works fine in Netscape. What could be the problem?

Uma





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Problem with IE

2002-02-07 Thread Uma Maheswar

Hi,
I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not get my files 
working on IE with this kind of URL
http://globalleafs.com:8080/globalleafs/servlet/TestServlet

But the same URL works fine in Netscape. What could be the problem?

Uma






Re: HttpServletResponse problem with IE

2001-03-30 Thread Guntupalli Shanti

Hi

I got the solution for this.

I guess this is because of the persistent connection.
Adding response.setHeader("Connection","close") fixed it.

-Shanti

At 10:02 AM 3/30/2001 -0800, you wrote:
>Hi,
>
>I am running tomcat 3.2.1 with  apache 1.3.14 on solaris 2.6
>
>I have this weird problem. In one of my servlets I have a form where user 
>can update his information
>and when the form is submitted the user gets a "Please wait while 
>updating..." page and then redirect
>the user back to the page where he came from before entering the form 
>using response.sendRedirect
>method. This work fine in Netscape.
>
>But with IE ( Iam using 5 and didn't test with any other IE versions) it 
>displays the
>"Please wait while updating..." page and then it displays HTTP headers and 
>then displays the next page
>(all within the same page). Meaning it is not clearing the old Response 
>object after going through a
>sendRedirect but appending the new response and displaying the 2 responses 
>within the same page
>along with the headers. How do I force it to clear the Response object 
>before getting the
>new response?? Any ideas ??
>
>Thanks in advance...Shanti
>




HttpServletResponse problem with IE

2001-03-30 Thread Guntupalli Shanti

Hi,

I am running tomcat 3.2.1 with  apache 1.3.14 on solaris 2.6

I have this weird problem. In one of my servlets I have a form where user 
can update his information
and when the form is submitted the user gets a "Please wait while 
updating..." page and then redirect
the user back to the page where he came from before entering the form using 
response.sendRedirect
method. This work fine in Netscape.

But with IE ( Iam using 5 and didn't test with any other IE versions) it 
displays the
"Please wait while updating..." page and then it displays HTTP headers and 
then displays the next page
(all within the same page). Meaning it is not clearing the old Response 
object after going through a
sendRedirect but appending the new response and displaying the 2 responses 
within the same page
along with the headers. How do I force it to clear the Response object 
before getting the
new response?? Any ideas ??

Thanks in advance...Shanti




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 / 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-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("" + title + "");
out.println("");
out.println("");
--
out.println("");
out.println("");
out.println("");
out.println("");




Re: Cache problem with IE

2001-03-15 Thread Zsolt Koppany

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 / 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



RE: Cache problem with IE

2001-03-15 Thread Randy Layman


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 / 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]


RE: Cache problem with IE

2001-03-14 Thread Kwan, Kenneth Y

To use HTTP/1.1, just type the following using a telnet app on port 80 of
your target web server

GET /index.html HTTP/1.1
Host: anything

Rgds

Kenneth

-Original Message-
From:   jos?placide [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, March 15, 2001 7:29 AM
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 / 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 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 / 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 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:00 GMT");

For a nice discussion of the use of expires (and caching in general) see:
http://www.mnot.net/cache_docs/#FAQ

hth

-
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...





...


...

  



  

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 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-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.
> > > >
> >
> **
> > > > **
> > > >
> > > >
>

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




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. 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 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 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.
> 
> 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 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]




RE: Cache problem with IE

2001-03-13 Thread James Carroll


I've had success with the following:



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 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: [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 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 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 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

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]




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 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 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 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 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 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 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]




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]