2
votes

I have multiple websites that use the same cookie for authentication. They are suppose to log in on the portal website and can then visit multiple websites.

for example:

portal.ilvo (only website with login form)
site1.ilvo
site2.ilvo
siteX.ilvo

I have set the domain in my cookie for .ilvo but It seems I can't login at all.

Web.config

<authentication mode="Forms">
  <forms 
      name="iwa.authentication" timeout="10080"slidingExpiration="false" protection="All" 
      cookieless="UseCookies"
      enableCrossAppRedirects="true" domain=".ilvo" />
</authentication>

Any help is much appreciated!

1

1 Answers

0
votes

I fixed this by publishing each website on a different port so they all have the same domain.