|  | Posted by Robert Cummings on 06/14/05 01:36 
On Mon, 2005-06-13 at 17:26, Chris Shiflett wrote:> 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.
 
 Keepalive session ping :) Just retrieve some content via javascript that
 keeps the session going. I'm not necessarily advocating this for the
 best solution, but it is a client side solution with very little
 complexity.
 
 Cheers,
 Rob.
 --
 ..------------------------------------------------------------.
 | InterJinn Application Framework - http://www.interjinn.com |
 :------------------------------------------------------------:
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for       |
 | creating re-usable components quickly and easily.          |
 `------------------------------------------------------------'
  Navigation: [Reply to this message] |