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 <ansalans...@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@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to