You are here: Re: Atomatically Refreshing a dynamic webpage « PHP Programming Language « IT news, forums, messages
Re: Atomatically Refreshing a dynamic webpage

Posted by Michael Fesser on 07/13/07 15:57

..oO(Captain Paralytic)

>On 13 Jul, 15:48, chima...@googlemail.com wrote:
>> Hi all,
>> I have a problem with maintaining data without refreshing manually in
>> my system. I have a system which carries data across several pages.
>> But if a user wants to go back to the previous pages, he is asked to
>> refresh at each stage, which is inconvenience. I want to be able to
>> maintain the data without refreshing when a user presses a back
>> button.
>
>You'll need to use GET instead of POST on your forms

Nope. Just send the data with POST (this is required for large form
data), then let the processing script return a 'Location' header with
the absolute URI of the current page. The browser will then fetch the
same page again with a normal GET request. This will prevent the ugly
"page expired" warning in the browser when going back in its history.

Micha

 

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

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