User authentication ASP -> ASP.NET page
-
Hello all: We have an application that is written in Classic ASP which requires users to login (same as forms authentication in .NET). We need to add some more pages to this application which will be written in ASP.NET 2.0 When a user logs in, he/she uses the classic ASP interface to use their user IDs and passwords which verifies them. Any ideas as to how I can take care of the authentication and still be able to use ASP.NET 2.0 classes to verify that the user has been authenticated? Will I need extend any of these classes? Any help will be appreciated. Thanks. Robert
-
Hello all: We have an application that is written in Classic ASP which requires users to login (same as forms authentication in .NET). We need to add some more pages to this application which will be written in ASP.NET 2.0 When a user logs in, he/she uses the classic ASP interface to use their user IDs and passwords which verifies them. Any ideas as to how I can take care of the authentication and still be able to use ASP.NET 2.0 classes to verify that the user has been authenticated? Will I need extend any of these classes? Any help will be appreciated. Thanks. Robert
I wrote a service that used the sessionId ( from memory ) to copy the session variables between ASP and ASP.NET. That worked well. Your core issue is, anything you can't pass on the URL, your two projects won't be able to share, by default. I believe I passed the ID to ASP.NET on the URL, which it used to get session variables from the service. Obviously, the asp app had to stuff them in as well.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert