On Fri, Dec 17, 2004 at 02:14:39PM -0500, Larry Leszczynski wrote:
>>> What you'll need to do is create a hidden field for EVERY member of
>>> the session object and then reassemble the object in the subsequent
>>> script:
> Depending on how big your session object is and what kind of stuff is in
> it, another thing you could try is to serialize the entire session into a
> string and use that as your hidden variable, and then unserialize when the
> form is submitted.  You could use something like the Storable module's
> freeze and thaw methods, 

I've actually done this once, and despite it being one of the ugliest
hack I've ever done, it worked surprisingly well :)

-- 
Trond Michelsen

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to