You are here: Re: Dirty Form Error Trapping? « PHP Programming Language « IT news, forums, messages
Re: Dirty Form Error Trapping?

Posted by Fester Bestertester on 10/22/07 18:55

Jerry Stuckle wrote:

> Nope. There is nothing you can do in PHP (which is server side) to
> prevent the user from performing client-side functions such as closing a
> window.
>
> But that also should not be considered an error. It should be
> considered normal operation, and your script should handle it nicely.

Thanks for responding. As I stated in my other response, I suppose it's
like any other web app. If the user clicks the browser's 'x' button
before clicking the submit button, the changes are lost. That's the way
our hr web/db app works.

But, as you state, "...your script should handle it nicely." I'm not
sure, how would this work exactly? Would it plant a cookie and show the
user a message?

 

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

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