FormsAuthentication.SetAuthCookie not setting Path or Domain?
问题 I have a web app can be installed on lots of domains and paths. So: client1Name.{mySite.com} client2Name.{mySite.com} demo.{mySite.com}/prospect1Name demo.{mySite.com}/prospect2Name demo.{mySite.com}/prospect3Name All separate application instances of the same code. The problem is that if a client logs in to client1Name.{mySite.com} then visits one of the other sites their browser will send the authentication cookie. In all cases FormsAuthentication.SetAuthCookie doesn't set either the Path