I am using django. I have hosted xyz.com. As part of the same website, I have abc.xyz.com
Now I want abc.xyz.com to read session information from xyz.com, so I can treat logged in users accordingly.
I have read answers which suggest putting –
SESSION_COOKIE_DOMAIN = ".xyz.com"
or
SESSION_COOKIE_DOMAIN = "xyz.com"
But none of them work. How do I solve this?
PS: I am using nginx to point requests onto abc.xyz.com to xyz.com/abc
works fine.