Shared login for ASP.NET 1.1 ans ASP.NET 2.0

  • Thread starter Thread starter Alex via DotNetMonster.com
  • Start date Start date
A

Alex via DotNetMonster.com

Is there any way to share the form authentication info between ASP.NET 1.1
and ASP.NET 2.0 applications?

I am porting an ASP.NET 1.1 application to ASP.NET 2.0 and it does not see
cookies from other applications that are located on the same domain and works
under ASP.NET 1.1. When this application runs under 1.1 it works fine and
shares the login cookies with other apps.

All the application uses same manually set validationKey and decryptionKey
values.
 
Here is some additional info. I've created a hello world app that is using
the forms authentication. If I login under ASP.NET 1.1 selecting the "save my
password" option, switch to ASP.NET 2.0 and refresh the page it looses the
login info.

On the other hand if I replace protection="All" with protection="None" in the
Web.config form element, it works fine. The Web.config includes manually set
validationKey and decryptionKey values, so they are same for both 1.1 and 2.0
environments. Why do they encrypt the login cookies differently then?
 
Back
Top