Two things to check:
1) you might have session.forget() in the controller, maybe outside
the action.
2) you might be using a custom form and it is missing the hidden
fields,
   if you don't have the _formkey then the form will not be accepted.


On Dec 23, 2:39 am, Johann Spies <johann.sp...@gmail.com> wrote:
> On 22 December 2010 22:36, Jonathan Lundell <jlund...@pobox.com> wrote:
>
>
>
> > When accepts() returns False, look at form.errors. It's a dict (Storage,
> > actually, but you can treat it as a dict) that is keyed, typically, by field
> > names, with error messages as values.
>
> > (accepts() will also return False before the form has been submitted, but
> > in that case form.errors is empty.)
>
> Thanks.  I have tried that before also but it just reports Storage{}
>
> So why is that empty?
>
> Regards
> Johann
>
> --
>  May grace and peace be yours in abundance through the full knowledge of God
> and of Jesus our Lord!  His divine power has given us everything we need for
> life and godliness through the full knowledge of the one who called us by
> his own glory and excellence.
>                                                     2 Pet. 1:2b,3a

Reply via email to