How can I share .net (C#) based authenticated session between web forms and MVC2 applications?

后端 未结 4 1207
借酒劲吻你
借酒劲吻你 2020-12-15 11:20

We have a small application we built in our spare time using the latest mvc3 and Entity Framework .net libraries available at the time, and deployed it. The management liked

4条回答
  •  无人及你
    2020-12-15 11:56

    First, the fact one application is ASP.NET MVC does make no difference here :)

    Second, here is one example of what to do from MSDN:

    http://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx

    Small snippet from that page:

    
      
        
          
          
        
    
        
        
      
    
    

    .

    P.S.

    StriplingWarrior's advice of merging both applications although not really required but may be very useful for future integrations. You may later end up doing it anyway.

提交回复
热议问题