On Wed, Aug 21, 2013 at 12:26 AM, <archean...@gmail.com> wrote:

> session.forget(response) prevents SQLFORM.factory from working. Is this
> supposed to happen? If so, why? I was hoping it would prevent the session
> files from being written.
>
>
To secure forms submission web2py needs to store an hash in the session to,
after form submission, compare that hash previously
stored with the one that goes in the POST.

Check the html that web2py generates for your form and you will see that
hash, it's in an hidden field with name="_formkey"

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to