|  | 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] |