ASP.Net Membership Login Issue

I am trying to run two web applications using the same ASP.NET membership provider database that comes with MVC3. Thus, two web applications work side by side, and both have the same connection with the same type of membership data. The problem is that I can only enter one application and automatically exit to another. However, the function I want is that if I enter one of them, I automatically enter another journal.

I was wondering what the trick is to enable this feature.

Many thanks

+5
source share
2 answers

, cookie. , . - cookie , . , , foo.example.com bar.example.com, domain cookie web.config example.com:

<forms
    loginUrl="/login/index.mcp"
    requireSSL="true"
    protection="All"
    timeout="120"
    domain="example.com"
/>

, cookie , Single Sign On.

+4

Finanlly . , ( , ). : IIS differnt -. web.config ~!

0

All Articles