0

I have two sites in the same domain. This sites are sharing cookies across this domain. In web.config I have

<system.web>
 <authentication mode="none">
  <forms loginUrl="login.aspx" />
 </authentication>

I can't predict the domain name too.

How to stop this?

Quiet
  • 115
  • 2
  • 14
  • how you separate the two domains ? (eg, the one is one.domain.com the other two.domain.com) ? – Aristos Jul 11 '20 at 09:38
  • Possible duplicate: https://stackoverflow.com/questions/7589630/sharing-asp-net-cookies-across-sub-domains – Bruno Jul 11 '20 at 12:27
  • Possible duplicate also: https://stackoverflow.com/questions/2454623/multiple-applications-using-same-login-database-logging-each-other-out/2491686#2491686 – Aristos Jul 12 '20 at 10:14

0 Answers0