You are here: Re: Does PHP "cache" scripts? « PHP Programming Language « IT news, forums, messages
Re: Does PHP "cache" scripts?

Posted by StevePBurgess on 12/12/19 11:58

I've just run the script in Firefox again and noticed something odd.
There are two links, thus:

MOVE UP - MOVE DOWN

When I click on MOVE UP the database isn't updated but I get this in
the address box when the script returns me to the main page:

http://www.etc.com/credits.php?r=1158400161

When I click MOVE DOWN the database isn't updated and I get this:

http://www.etc.com/credits.php?r=1158400662

if I click MOVE UP again I get

http://www.etc.com/credits.php?r=1158400161

which is the same as the first time I clicked it. The r= variable is
the unix time stamp so either firefox is caching the page or my server
is somehow going back in time! ;o)

If I leave it for a while and try again, the number is updated to a new
number (and sometimes the database is updated and the order on the
credits page is changed).

Steve



StevePBurg...@gmail.com wrote:
> I have added the random number to the URL and the script now works
> perfectly. In Internet Explorer. The database is updated and on return
> to the list page the correct order is reflected.
>
> In Firefox it still won't work. The database doesn't get updated and
> the random number in the url doesn't change or get updated.
>
> As my client uses IE I guess it's not that big a deal - but it is
> frustrating as Firefox is my preferred browser.
>
> Any further thoughts?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация