Re: OT ??: Form posting without leaving form

From: Date: Mon, 13 Jun 2005 21:26:51 +0000
Subject: Re: OT ??: Form posting without leaving form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216917@lists.php.net to get a copy of this message
Kall, Bruce A. wrote:
I have a php web page that is a detailed form with a lot of fields. If the user does some work on this form and let's it sit, their session can time out (I had this happen to the user after it sat for 2 hours). Is there some way to have a timer in the page and have partial form results sent back to the server, but still leave the form on the screen as-is?
Why not construct your application so that a user can enter the password again after timing out and continue? If I submit a form, and you tell me that I've timed out, I should be able to provide my password and not lose everything. You have all of the data in $_POST or $_GET. Do something with it. :-) There may be some client-side way to handle this, but it's definitely not necessary. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/

« previous php.general (#216917) next »