Re: OT ??: Form posting without leaving form
| From: | Richard Lynch | Date: | Tue, 14 Jun 2005 22:23:56 +0000 |
| Subject: | Re: OT ??: Form posting without leaving form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216980@lists.php.net to get a copy of this message | ||
On Mon, June 13, 2005 10:28 am, Kall, Bruce A. said:
> 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?
> In other words, I want to have the client periodically post the form
> data back to the server, but leave the same web page displayed.
I also think it's "cleaner" to just let the user log back in and then
process their POST data.
You may need to not use the built-in session time-out, so that you have
the data in context.
Or, you may need to re-structure your application to archive timed-out
session data somewhere, and resurrect it when needed. You can clean out
really old archival data periodically.
--
Like Music?
http://l-i-e.com/artists.htm