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

Posted by Jerry Stuckle on 11/11/12 11:58

StevePBurgess@gmail.com wrote:
> 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?
>
>

Still a caching problem. But not related to PHP. You might get better
answers in a group such as alt.html.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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