J
John Murtari
Folks,
We are working on upgrading a web based application that allows the
user to type quite a long essay and then submit it to the web site for
processing. Occasionally, the user will lose their session/connection
to the web site/internet -- so after typing for 'hours', they hit
submit and end up back at the login page and often times lose all
their typing.
Javascript seemed like a good tool to use at the user end of the
connection -- they hit submit and we 'save' a local copy of the form
contents and give them an easy way to retrieve it if a session is
lost.
Found a nice approach and a great tutorial using cookies at
http://www.howtocreate.co.uk/tutorials/jsexamples/saveForm.html it
also supports periodic background saves before submit.
The only problem is a 4K limit on data we can save. We had
considered an AJAX type approach and periodically save data to
the web server, but that may be more work/complexity than it is
worth. I'd welcome any thoughts/recommendations.
--
John
___________________________________________________________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/
We are working on upgrading a web based application that allows the
user to type quite a long essay and then submit it to the web site for
processing. Occasionally, the user will lose their session/connection
to the web site/internet -- so after typing for 'hours', they hit
submit and end up back at the login page and often times lose all
their typing.
Javascript seemed like a good tool to use at the user end of the
connection -- they hit submit and we 'save' a local copy of the form
contents and give them an easy way to retrieve it if a session is
lost.
Found a nice approach and a great tutorial using cookies at
http://www.howtocreate.co.uk/tutorials/jsexamples/saveForm.html it
also supports periodic background saves before submit.
The only problem is a 4K limit on data we can save. We had
considered an AJAX type approach and periodically save data to
the web server, but that may be more work/complexity than it is
worth. I'd welcome any thoughts/recommendations.
--
John
___________________________________________________________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/