开发者

Sharing login credentials on localhost with 2 web applications on IIS7, possible?

开发者 https://www.devze.com 2022-12-22 22:54 出处:网络
I have 2 asp.net web applications running in IIS7: http://app1.local/ and http://app2.local/ My host.ini file just maps the above urls to localhost:

I have 2 asp.net web applications running in IIS7:

http://app1.local/

and

http://app2.local/

My host.ini file just maps the above urls to localhost:

::1 app1.local
::1 app2.local

I added the same machine key to both their web.config's.

When I sign into开发者_如何学运维 app2, and then go to app1, the call to Request.IsAuthenticated is false?

Should this work?

0

精彩评论

暂无评论...
验证码 换一张
取 消