Sharing authentication between IIS applications in the same domain

I have an IIS website at www.example.com

and virtual directory at www.example.com/demo/

How can I use the authentication cookie from www.example.com in my virtual directory?

+3
source share
3 answers

You are looking for a solution to enter one site . If the article I'm attached to does not help you, there is even more on google when you know what search is for;)

+2
source

cookie , . cookie ASP- .net- .

cookie.

+2

. , . - Kerberos, , , , , , .

asp cookie . cookie , . , .

PS If you already use cookies, just use the code in your virtual text in the same way as the one you use on other pages.

What are the additional requirements for virtual? Is it on the same server?

+1
source

Source: https://habr.com/ru/post/1703097/


All Articles