
FishMonger
Veteran
Sep 11, 2012, 7:04 AM
Post #3 of 6
(812 views)
|
|
Re: [Calab] Saving and recalling the contents of a perl generated form?
[In reply to]
|
Can't Post
|
|
They would like to be able to click a button and save the content of the form to their drive, and reload it at a later time. You want to write the data to file on the client's system? It is possible if you want to write malware.
and reload it at a later time Do you mean later in the same session, like when navigating a "shopping cart" to the "checkout", or later as in days or weeks? If in a shopping cart type of situation, then I'd use server side sessions i.e., the CGI::Session module. http://search.cpan.org/~markstos/CGI-Session-4.48/lib/CGI/Session.pm If the data is to be retrieved at an unknown future date/time, then use the DBI module to store the data in a database of your choice. My choice would be mysql. http://search.cpan.org/~timb/DBI-1.622/DBI.pm
|