Domanda

I have designed a website to use windows authentication. Everything works as expected. But my recent task was to integrate another site into this site(I can't re-write the whole application into this). So i have followed to use an iframe. Now my child site also uses windows authentication. So When i hit the parent site it is asking for windows credentials and user validated. When i hit the child site on iframe, it is again giving me the pop up to enter the credentials, Is there a work around for this? Please help.

Note: Both these applications are hosted on the same server.

Thanks in advance.

È stato utile?

Soluzione

Most likely, the two sites are a different subdomains or domains. If they're just different subdomains on the same domain, you can set the sites to use a wildcard domain cookie, which will allow any subdomain on that domain to see the cookie and recognize authentication from the other. However, if they're on different domains, you're out of luck.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top