20
Jan
2009

Single Sign On with subdomains

Let’s say you want to authenticate on sub.domain.com a user previously logged on domain.com with ASP.NET 2.0 Forms authentication.

All you have to do is in the web.config file of the domain.com website add the attribute “domain” in the Forms tag, like this :

<forms … domain=”.domain.com” />

Ecrit par julien dans : .NET | Tags : , ,

Pas de commentaire »

Flux RSS des commentaires pour cet article. URL de TrackBack

Laisser un commentaire

Propulsé par WordPress | Thème Aeros | TheBuckmaker.com WordPress Themes | Traduction WordPress tuto