You are here: Page expiration problem « HTML « IT news, forums, messages
Page expiration problem

Posted by Jure Erznoznik on 08/03/05 17:24

Hi guys,

I have written a small application in PHP. HTTP Server used is Apache 2.
PHP marks the pages it generates as non-cacheable which is problematic in
IE. If I press the Back button, IE will say that page has expired from cache
and I have to press the refresh button. Firefox does not have the same
problem.

To solve the problem, I modify the PHP headers so that page expiration is
set to 300 sec. This solves the above problem, but a new one appears:
IE will load the pages from cache which is of course bad since they contain
dynamic data (login information, database data).

Question: How do i make IE stop telling me the page has expired and
automatically reload instead?

Thanks,
Jure

 

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

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