[cgiapp] CAP::FormState equivalent?

Richard Jones ra.jones at dpw.clara.co.uk
Thu Jun 5 07:12:32 EDT 2008


Ron Savage wrote:
> Hi Richard
> 
>> It looks like CAP::FormState was written especially for C::A, but I was 
>> wondering if anyone knew of a module with similar functionality that 
> 
> Is this module relevant:
> 
> http://search.cpan.org/~kazeburo/CGI-Application-Plugin-Stash-0.01/

Hi Ron,

It doesn't seem to use the session - though it's a very useful module in 
its own right anyway. I originally wanted to store data in the session 
for later retrieval, but have found a way to use Storable and 
encode_base64 to generate a string which passes as a hidden field 
between form submissions (user-tampering not really an issue for my 
apps). Works well so far, and saves having to purge the session of stale 
data.
-- 
Richard Jones


More information about the cgiapp mailing list