title: How can I share .net (C#) based authenticated session between web forms and MVC2 applications?
body: <p>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 it, and they want it integrated into a heavy legacy .net 3.5 web forms application. </p>
  
  <p>I need to somehow use the same authentication sessions across the two applications. I am using the same DB and Application for authentication using the .net membership and profile providers. This works fine, but users have to login separately into the MVC app even when they are already signed in for the main application. I am open to any suggestions: <a href="http://msdn.microsoft.com/en-us/library/ms178586.aspx" rel="noreferrer">enabling state session at a different level</a>, or <a href="http://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx" rel="noreferrer">shared cookies</a>, etc</p>
  
  <p>What is the best way to bypass this login requirement and whether I should integrate the mvc application into the webforms or keep it as an independent application? My main concerns affecting the decision would be time taken for complete integration, and later maintenance of the applications.</p>