Re: Refresh problems

From: Date: Thu, 17 May 2001 14:30:31 +0000
Subject: Re: Refresh problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53242@lists.php.net to get a copy of this message
Andrew Kirilenko wrote: > > Hello! > > Sorry for offtopic. > > I'm developing PHP page for the displaying some kind of statistic. > It displays graphics for the selected user. Pictures updates every 5 minutes > by external program. I've form with submit button. If I press this button > with different user selected, everything is OK. But if I press this button > for the same user selected, images doesn't update!!! > I've added <meta http-equiv="cache-control" content="no-cache"> > and <meta > http-equiv="pragma" content="no-cache"> to the page - it doesn't > help! > Let your php generates sources for images like this: <? echo '<img src="image.gif?' . time() . '">'; ?> Now, for browser this image source is a little different every time and it must be requested from server, not from cache. At least Netscape does. Hope this helps. -- Pavel a.k.a. Papi

« previous php.general (#53242) next »