[mod_python] passing pickles

David Bear David.Bear at asu.edu
Wed Jun 7 00:45:19 EDT 2006


I'm thinking of a simple way to pass form data between different
forms. For example, if I have page1 with form1 in it, and then for
page2 dynamically generate the form elements for form2 including data
from form1, how safe is it to put a python pickle in a form element?

for example, something like

<input type="hidden" name="priordata" value="pythonpicklegoeshere" >

when the form is submitted, I should get a req.form["priordata"] that
I can de-pickle right?


-- 
David Bear
phone: 	480-965-8257
fax: 	480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"


More information about the Mod_python mailing list