Don't forget to try all these headers for each possible choice that IE5
gives the end user from "Tools", "Options", [General] - [Temporary Internet
Files] - [Settings]. It's no good thinking that you've solved your cache
problems, only to discover that the end user has chosen "Never" [check for
a more recent version] ! It can be very annoying..!
-Chris Brown
Webnet
-----Message d'origine-----
De: Finney, Michael [SMTP:[EMAIL PROTECTED]]
Date: jeudi 30 septembre 1999 16:23
�: [EMAIL PROTECTED]
Objet: Re: IE5 and cache
> Thank you all for your suggestions. We have tried many of them. (More
we
> will try soon. I see more rolling in.)
>
> We made a quick client browser app and looked at what exactly Microsoft's
> Server sends (using the VB code below) and what JSWDK sends (using other
> means suggested by people on the list).
>
> <%@ Language=VBScript %>
> <%
> ' The following line is the important part:
> Response.CacheControl = "no-cache"
> Response.AddHeader "Pragma", "no-cache"
> %>
>
> The weird part is that the IE5 browser seems to act different with real
> similar code.
>
It almost seems like the Browser acts depending on which server is serving
the pages. Are we missing something?
> michael
>
> -----Original Message-----
> From: xxxxx
>
> [edited] It seems, IE 5.0 only honors non-caching of pages by Microsoft's
> Information Web Server!
>
> I have written a small client program that makes a connection to any http
> server and prints out the header fields in the
> response sent by the server. Microsoft's Information server served the
> following header for page that was not cached.
> Our Web Server served a similar page, and identical header (except for
> server and cookie values) and that page was cached!
>
> Figure this one out!
>
> Starting application <MAF: clipped off the rest of this line>
> today's date is: Wed, 29 Sep 1999 20:40:13 GMT
>
> Microsoft's Information server returned this:
>
> Server Microsoft-IIS/4.0
> Date Wed, 29 Sep 1999 20:40:14 GMT
> Pragma no-cache
> Content-Type text/html
> Set-Cookie ASPSESSIONIDQQQQGGOP=EHBPINBBLNIBJDFECCLJEDNN; path=/
> Cache-control no-cache
>
> ================================================
>
> Our JavaServer returned this:
>
> Date Wed, 29 Sep 1999 20:35:56 GMT
> Server JavaServer Web Dev Kit/1.0 EA with JSP/1.0 and Servlet/2.1
> Content-Type text/html
> Set-Cookie2
SESSIONID=To1013mC528765865192846At;Version=1;Discard;Path="/"
> Set-Cookie SESSIONID=To1013mC528765865192846At;Path=/
> Servlet-Engine JavaServer Web Dev Kit/1.0 EA (JSP 1.0; Servlet 2.1; Java
> 1.1.8; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)
> Pragma no-cache
> Cache-control no-cache
> Interactive Session Ended
>
> Thanks, Zoran Ivankovich
>
> << File: Zoran Ivankovich (E-mail).vcf >>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INT
EREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html