[Catalyst] session issue

Bernhard Graf catalyst2 at augensalat.de
Thu May 24 11:06:55 GMT 2007


mla wrote:

> > Two options to avoid the problem:
> > - Store already received data in hidden fields of the subsequent
> > forms.
>
> This is almost always the best approach, IMO. The state of the form
> is kept with the form, where it belongs. There are no synchronization
> issues with the session.

This applies to the 2nd option, Apache::Session::Counted, as well.
Instead of storing everything in hidden fields, you only have to pass a 
session key, that is unique for every new request. With A:S:C you are 
able to store arbitrary complex data (all that Storable can handle). 
-- 
Bernhard Graf



More information about the Catalyst mailing list