On 13 April 2010 15:20, Merlin Morgenstern <merlin_x@xxxxxxxxxxx> wrote: > Hello everybody, > > I have form where users enter data to be saved in a db. > > How can I make php save the form data into a session before the user leaves > the page without pressing the submit button? Some members leave the page and > return afterwards wondering where their already entered data is. > > Any ideas how to save into php session data before someone leaves the page? Use ajax: send a query to the server a couple of seconds after the user has last updated the form. > Thank you for any hint, > > Merlin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 </hype> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php