You are here: Re: Refresh HTML page automatically only once « HTML « IT news, forums, messages
Re: Refresh HTML page automatically only once

Posted by Jim Higson on 11/04/05 15:14

vampyreapocalypse@gmail.com wrote:

> Hi,
>
> I have a page connected to a database and using ASP and VBScript
> scripting. There is a variable that must be set on this page for the
> next page to load properly. When this page is accessed via a link the
> variable gets set and there is no problem. However if you are on the
> detail page and click the back button to the page that sets the
> variable, the variable does not get set because it isn't actually
> reloaded, just taken from the browsers cache. Is there a way using HTML
> (or any scripting language useable by HTML) to auto refresh the page
> once and once only?

If caching is the problem, it sounds like you need to set the HTTP headers
to expire pages immediately.

However, browsers cache pages for a good reason and this'd really slow
things down. If the site relies on things like if the user clicked back or
whatever maybe a rethink of your design is worth considering.

 

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

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