Re: OT ??: Form posting without leaving form
| From: | Kall, Bruce A. | Date: | Thu, 16 Jun 2005 15:44:02 +0000 |
| Subject: | Re: OT ??: Form posting without leaving form | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217075@lists.php.net to get a copy of this message | ||
Thanks. This worked out to be the best solution of the suggestions I had received. I've implemented it and it works as advertised.
Bruce
John Browne wrote:
Check out the "xmlhttp" object in Javascript: http://jibbering.com/2002/4/httprequest.html On 6/13/05, Kall, Bruce A. <kall@mayo.edu> wrote:This is perhaps a javascript question.... Is there a way to post a form to a url without having a user submit from the form? 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. Thanks, Bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php