On Monday, March 14, 2016 at 4:14:42 PM UTC-4, Alex wrote:
>
> no, I don't have response.toolbar in my view. The issue should be 
> reproducible with the code snippet above - assuming you are logged in and 
> have a membership (i.e. auth.user_groups has at least one item).
>

It's true that you code does result in the two pickles not being 
equivalent. However, at least for me, merely iterating over 
auth.user_groups does *not* result in the session file being overwritten on 
each request. However, the session file is overwritten on each request when 
response.toolbar() is included (more specifically, when BEAUTIFY(session) 
is serialized in the view -- no idea why that has an effect, though).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to