You are here: handling a user pressing browser's back button « PHP « IT news, forums, messages
handling a user pressing browser's back button

Posted by James on 10/03/02 11:14

Currently I have an application with PHP scripts that passes POST
variables to keep track of ID's of records, the processing mode and
such.

I totally didn't design it to handle when a user hits the Back button
in the browser...everything is tightly controlled...The user clicks
on links/buttons to take actions.

So far the database updates are fine and almost everything behaves
correctly when the user hits the back button. However, I do have one
page that shows a list of records. The user clicks "Edit" and the
list is shown again, but this time with the selected record as
Editable fields. If the user presses the Browser's Back button, the
record still appears as Editable. This is just one of those cases.

What have people done in the past to deal with states and such and
keeping these things straight when the user hits the BACK button?

-James
--

 

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

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