You are here: Re: caching problem « HTML « IT news, forums, messages
Re: caching problem

Posted by Stuart on 11/16/04 11:28

Bruno wrote:
> Hi there,
>
> I have to use a flash file as an intro (customer requirements) with a
> dropdown to select countries. After the user has selected a country, I
> transfer to a frame page.
>
> The FramePage (created by PHP) searches a directory and displays the files.
>
> If I add or delete a file and refresh the page by F5 (IE), I will not see
> the changes most of the time, although I have these code of lines in the
> header section:
>
> <meta http-equiv="expires" content="0">
> <meta http-equiv="pragma" content="no-cache">
>
> What can I do? Could I use a variable in the session management, for example
> the time/date to make the browser / caching system think, that the page has
> changed?
>
> Or is there another solution?
>
> Thanks for any hints
>
> Bruno
>
>

You could try [Shift] - [F5], to force a refresh, or failing that you
could try using the PHP 'header' command to put the Pragma: no-cache
into the HTTP response. It may also be dependent on your server's settings.

--
Stuart Brown <stuart@edesign.cc>
http://www.edesign.cc

 

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

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