in reply to Re: (jeffa) Re: Dynamic Page - AutoPOST
in thread Dynamic Page - AutoPOST

Hmmm, if the data is indeed to large to slam into a query string, then you should look into saving the state of the form to a file. Take a look at the save() method in the docs for CGI.pm.

The gist is to try to open the file and use it to create a new CGI object. After you set the new values, save the state to the file. This will not work if you plan on having different data available to different users, but if everybody is viewing the same results, it shouldn't be a problem.

Don't forget to use flock on the state file.

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--

Replies are listed 'Best First'.
Re: (jeffa) 3Re: Dynamic Page - AutoPOST
by dculpSC (Initiate) on Jun 01, 2001 at 22:54 UTC
    A POST could handle the large dataset. If there was a way to "REDIRECT" after "sleeping for x secs" to the same .CGI sending it the POSTED data. Could LWP Help ?