|
Posted by Chris Shiflett on 06/14/05 00:26
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/
Navigation:
[Reply to this message]
|