Forms Authentication across Sub-Domains on local IIS
Posted
by
Parminder
on Server Fault
See other posts from Server Fault
or by Parminder
Published on 2011-11-26T11:41:32Z
Indexed on
2011/11/26
17:55 UTC
Read the original article
Hit count: 269
I asked this question at SO http://stackoverflow.com/questions/8278015/forms-nauthentication-across-sub-domains-on-local-iis
Now asking it here.
I know a cookie can be shared across multiple subdomains using the setting
<forms name=".ASPXAUTH" loginUrl="Login/" protection="Validation" timeout="120"
path="/" domain=".mydomain.com"/>
in Web.config. But how to replicate same thing on local machine. I am using windows 7 and IIS 7 on my laptop. So I have sites localhost.users/ for my actual site users.mysite.com localhost.host/ for host.mysite.com and similar.
© Server Fault or respective owner