[Webdev] Re: Webdev digest, Vol 1 #369 - 2 msgs

adrian murphy adrian.murphy at 2020tourism.com
Thu Sep 12 11:59:52 IST 2002


not an ideal solution by any means,but i had a similar
problem creating images on the fly with php.the browser
was always showing the cached version.
so i used time() to add a variable to the querystring ,which
would always be unique,
to trick the browser into going back to the server to reparse the page.i.e.
$now = time();
then  nextpage.php?i=$now
not ideal but it worked - i had no luck with adding any
header info.
regards,
adrian
----- Original Message -----
From: <webdev-admin at linux.ie>
To: <webdev at linux.ie>
Sent: Thursday, September 12, 2002 6:29 AM
Subject: Webdev digest, Vol 1 #369 - 2 msgs


>
> Send Webdev mailing list submissions to
> webdev at linux.ie
>
> To subscribe or unsubscribe via the web, visit
> http://www.linux.ie/mailman/listinfo/webdev
> or, via email, send a message with subject or body 'help' to
> webdev-request at linux.ie
> You can reach the person managing the list at
> webdev-admin at linux.ie
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Webdev digest..."
>
>
> Today's Topics:
>
>   1. Konqueror cache: PHP problems (Kevin Donnelly)
>   2. Re: Konqueror cache: PHP problems (Nick Murtagh)
>
> --__--__--
>
> Message: 1
> charset="us-ascii"
> From: Kevin Donnelly <kevin at dotmon.com>
> Reply-To: kevin at dotmon.com
> To: webdev at linux.ie
> Date: Wed, 11 Sep 2002 13:40:28 +0000
> Subject: [Webdev] Konqueror cache: PHP problems
>
> Hi
>
> I'm having some interesting issues with Konqueror 3.0.1 (on SuSE 8.0).
> Basically, after a lot of head-scratching, it appears that PHP pages of
the
> form pagename.php?variable1=x&variable2=y get cached somewhere even if
cache
> has been emptied and turned off.  The app I had developed using Konq 2.2.1
(on
> SuSE 7.3) didn't work at all properly with Konq in 8.0 - repeat visits to
> particular pages threw up the previous versions instead of having them
> generated afresh, which played havoc with form submissions.
>
> I would be quite prepared to believe that my PHP scripting is not of the
best,
> except that it used to run sweetly with the previous version, and Moz
0.9.8,
> with Edit > Preferences > Advanced > Cache set to "Every time I view the
> page", runs it fine now (as does IE).
>
> This seems to me very much like a bug from a development point of view,
and I
> do note (http://www.kde.org/announcements/changelog3_0_1to3_0_2.html) that
> kdelibs in KDE 3.0.2 lists "fixes related to form posts and cache
handling"
> as one of the improvements.  But before I log this as a bug with KDE and
get
> chewed for it, has anyone else come across this / know anything more about
> it?  Or is anyone able to confirm that the fixes were in fact aimed at
this
> issue?
>
> Thanks
>
> Kevin
>
>
> --__--__--
>
> Message: 2
> Subject: Re: [Webdev] Konqueror cache: PHP problems
> From: Nick Murtagh <nickm at go2.ie>
> To: webdev at linux.ie
> Date: 11 Sep 2002 19:02:17 +0100
>
> On Wed, 2002-09-11 at 14:40, Kevin Donnelly wrote:
> > Hi
> >
> > I'm having some interesting issues with Konqueror 3.0.1 (on SuSE 8.0).
> > Basically, after a lot of head-scratching, it appears that PHP pages of
the
> > form pagename.php?variable1=x&variable2=y get cached somewhere even if
cache
> > has been emptied and turned off.  The app I had developed using Konq
2.2.1 (on
>
> What HTTP headers are being sent by the server? There should something
> like "cache-control: no-cache" for HTTP 1.1. If these aren't being sent,
> you can always add them manually... If they are being sent and the
> browser doesn't respect them it's definitely a bug.
>
> Nick
>
>
>
>
> --__--__--
>
> _______________________________________________
> Webdev mailing list
> Webdev at linux.ie
> http://www.linux.ie/mailman/listinfo/webdev
>
>
> End of Webdev Digest
>




More information about the Webdev mailing list