Sharing Authentication between ASP.NET sites

前端 未结 4 2071
再見小時候
再見小時候 2021-01-01 08:10

I have two ASP.NET sites (they can not run in the same process) and I need to share authentication between them. If a user is in site A already authenticated and then goes

4条回答
  •  青春惊慌失措
    2021-01-01 08:21

    If you are using Forms Authentication you can do this by setting the Machine Key.

    See: Forms Authentication Across Applications

提交回复
热议问题