Hey everyone,
Having trouble tracking down a bug, looking for a sanity check.
Somehow, when I turn on redis sessions, auth is not getting updated from
the session.
This behavior manifests itself as a 303 with functions that are decorated
with @auth.requires.
Basic Workflow:
Ajax request to login_bare -- > successfully logins in user
Further ajax requests to @auth.requires functions return 303.
When I turn off redis, it works.
With redis on, it returns 303.
Further complicating the matter is that when I check session.auth there is
a Storage object there with the user info in it.
It just doesnt seem to be deserializing / updating auth.user from the
session when the session is stored in redis.
Am I missing something?
It doesnt matter whether i use with_lock or not.
The user is there.
auth is just not being updated.
-Mark
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.