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

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

Post by Alex via D » Wed, 16 Nov 2005 06:15:21


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.

--
Message posted via http://www.yqcomputer.com/
 
 
 

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

Post by Alex via D » Wed, 16 Nov 2005 08:11:08

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?

--
Message posted via http://www.yqcomputer.com/