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

Ketan Padegaonkar ketanpadegaonkar at gmail.com
Mon Aug 15 16:27:41 CEST 2011


It is possible to set session cookies on a subdomain (*.example.com),
in which case you'd need to use the same session storage and user
store for all apps in the subdomain so that all the apps can validate
the cookie.

Having SSO is a much cleaner and simpler way of authenticating users
across multiple (sub)domains. This allows apps to not have to share
the same session store and to worry about apps writing on top of each
others session data(namespacing et.al.). Ditto with the user storage.

- Ketan
studios.thoughtworks.com | twitter.com/ketanpkr


On Mon, Aug 15, 2011 at 4:16 AM, Ansal <ansalansari at gmail.com> wrote:
> Yes, I can do that. But isn't there a way to share the same login session
> information in sub-domain too?
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list