[BangPypers] Django - share login sessions on sub-domain

Sidu Ponnappa lorddaemon at gmail.com
Mon Aug 15 01:38:34 CEST 2011


If these are two different apps, why not simply use something like
OAuth for SSO?

Best,
Sidu.

On Sun, Aug 14, 2011 at 9:13 PM, Ansal <ansalansari at gmail.com> wrote:
> Hi,
> I have a django app running on my domain. I have another django app running
> on its subdomain. How can I share the same login session on this subdomain?
> Some websites are saying to set SESSION_COOKIE_DOMAIN = '.mydomain.com' in
> settings.py in the first app. But it won't work. If i set the same in sub
> domain's app, I am automatically getting logged out. So, what should I do to
> get this done?
>
> Thanks in advance,
> Ansal.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list