I am using a form to retrieve info and I would like to be able to save this info in a cookie before I process the form and go to another one.
The purpose of this is to avoid to have to reenter the info in case the user return to the form just filled. On my system the form is reset each time I refresh or return to it.
Is there way to do one of the following?
1 - save the info in a cookie when user is leaving the form (window). I do know how to write the code (ASP) to write and retrieve the cookie, but where should I put the code to write the cookie when user leave the form?
1 - or is there a better way that will avoid to write and retrieve the info in the form. In this case, the info entered by the user should show in case the user return to this form.
Any help or code sample will be appreciated.
Thanks in advance
Louis
The purpose of this is to avoid to have to reenter the info in case the user return to the form just filled. On my system the form is reset each time I refresh or return to it.
Is there way to do one of the following?
1 - save the info in a cookie when user is leaving the form (window). I do know how to write the code (ASP) to write and retrieve the cookie, but where should I put the code to write the cookie when user leave the form?
1 - or is there a better way that will avoid to write and retrieve the info in the form. In this case, the info entered by the user should show in case the user return to this form.
Any help or code sample will be appreciated.
Thanks in advance
Louis