On 17 jul, 02:27, mdipierro <[email protected]> wrote:
> Now replace
>
> form.vars = session.vars
>
> with:
>
> form.vars.update(session.vars )
>
> this will fix the latter problem
>
> Now I understand what is going not but not why the browser makes a
> difference. You are trying to store a gluon.storage.Storage object in
> the session. Session can serialize it but fails to de-serialize it
> when the session is retrieved. So you have so take the form.vars and
> convert to a dictionary when storing it session.
>
> It is a rule in web2py that you cannot store objects in session (only
> primitive types, lists, dicts and combinations).
>
> Massimo
>
Now yes it works well. I do not also deal because the different
behaviors of the browsers.
Thank you very much for your help.
Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---