RE: [phplib] phplib problems with MSIE 5.x From: Philippe Paravicini (philippe <email protected>)
Date: 07/07/00

This is reposting of a prior message to the list that seems to deal with the
same issue. I have not had first hand experience with the remedy mentioned
below, but others have found it helpful.

Philippe Paravicini

-----Original Message-----
From: Michael R. Tuzi [mailto:mrtuzi <email protected>]
Sent: Monday, June 19, 2000 4:01 AM
To: Pascal Jolin
Cc: Jota Matsubara; phplib <email protected>
Subject: Re: [phplib] Internet Explorer

IE 5 uses the Cache-Control: header directives defined in the
documentation for HTTP/1.1. I noticed that when I viewed my test page
(phpinfo()) that the protocol sent to Netscape was 1.0, which doesn't
follow the Cache-Control: directives, and that IE was receiving 1.1.
The default time set in session.inc for both pre-check and max-age is
1440 minutes (1 day). IE first looks at the post-check, but since one
isn't defined - there may be a default? In any event, modifying your
$allowcache_expire will do the trick. I have a couple of session
classes, one not allowing caching, and others allowing varying times for
the cache. You'll just have to juggle session id's from the different
session types, because I don't believe you'll want every page retrieved
from your site every time someone revisits. You can find more info at:

http://msdn.microsoft.com/workshop/author/perf/perftips.asp#Use%20Cache-Cont
rol%20Extensions

Hope this helps.

Michael

> -----Original Message-----
> From: Boseret, Nicolas [mailto:nicolas.boseret <email protected>]
> Sent: Thursday, July 06, 2000 11:11 PM
> To: 'Philippe Paravicini'; Chris Lea
> Cc: phplib
> Subject: RE: [phplib] phplib problems with MSIE 5.x
>
>
> Hi there,
> I've got the same problem and I did set $allowcache to 'no' I've put no
> refresh meta tags to the pages, I commented the function send header in
> session.inc ... but this IE5 is still caching ... I'm unable to see any
> modification of my shopping cart ... The most incredible is that
> the site is
> perfect under netscape ;)
> does anyone have another trick to do ...
>
> -----Original Message-----
> From: Philippe Paravicini [mailto:philippe <email protected>]
> Sent: Friday, July 07, 2000 6:17 AM
> To: Chris Lea
> Cc: phplib
> Subject: RE: [phplib] phplib problems with MSIE 5.x
>
>
> Set $allowcache to "no" in your session object (either in
> session.inc or in
> a session sub-class of your creation)
>
> > -----Original Message-----
> > From: Chris Lea [mailto:chrislea <email protected>]
> > Sent: Thursday, July 06, 2000 5:38 PM
> > To: phplib <email protected>
> > Subject: [phplib] phplib problems with MSIE 5.x
> >
> >
> >
> > Hi all. I'm sorry if this has been covered, but I'm having terrible
> > cache problems with PHPLIB and MISE 5.x. I'm using version 7.2b.
> > Basically, the pages get read out of the cache when they should be
> > coming directly from the server. I've even tried putting
> >
> > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
> > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> > header("Cache-Control: no-cache, must-revalidate");
> > header("Pragma: no-cache");
> >
> > into the prepend.php3 and that still doesn't seem to help. Any advice or
> > documentation about how to fix this problem would really be appretiated.
> > Thanks.
> >
> > -Chris Lea
> > mailto:chrislea <email protected>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > For additional commands, e-mail: phplib-help <email protected>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>