request.user does not synchronize using SET_SESSION_COOKIE
|Reported by:||Wim Feijen <wim@…>||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have two sites running, on which I want to share request.user: meaning that if someone logs in to one site, he is automatically logged in to the other, and vice-versa.
SESSION_COOKIE_DOMAIN = '.trumpetcms.nl' in both projects.
If I inspect the session data, both websites use the same session, having a shared cookie where
But if I successfully log in to one site, then I remain anonymous on the other site. :(
I believe this to be a bug. Can some-one please confirm this? Or did I misunderstand the documentation?
Change History (2)
comment:1 Changed 5 years ago by Wim Feijen <wim@…>
- Component changed from Uncategorized to contrib.auth
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Type changed from Uncategorized to Bug