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

  • Thread starter Alex via
  • Start date

Alex via

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

Alex via

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?

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question