I have two applications. One of them using asp.net 2.0. The second is written using asp.net mvc 3. Objective is to integrate these applications. Data exchange between applications is not a problem and it works perfect. Problem is to make two sites to look and work like one (from customers point of view). These applications are running on the same iis server and asp.net 2.0 app is an application in virtual directory of mvc application.
I have tried iframes inside views, but there are session issues in asp.net 2.0 application. I use FormsAuthentication.SetAuthCookie() to make asp.net 2.0 app do not ask credentials, but it works unstable.
What are the best practices of integration such different applications? How to make asp.net 2.0 application to not ask credentials in an iframe every ~5minutes?
Thanks