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

Mandar Vaze / मंदार वझे mandarvaze at gmail.com
Tue Aug 16 08:29:57 CEST 2011


Also refer to similar discussion on Python Pune mailing list :
http://groups.google.com/group/pythonpune/browse_thread/thread/31993e39bd0dfac6/b9b3709bceb6e913

-Mandar

On Mon, Aug 15, 2011 at 7:57 PM, Ketan Padegaonkar <
ketanpadegaonkar at gmail.com> wrote:

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


More information about the BangPypers mailing list