Re: Saving form data into session before leaving a page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux