A
antonyliu2002
We are extending a web application written in classic ASP long time
ago. We will add more components to this web application in ASP.NET
2.0.
To use the web application, our web users will have to log in with
their user name and password.
Well, instead of adding components to the existing classic ASP web
application, we could have just put the extended components into a new
web application. But then this would require them to log into this new
application.
It is annoying to have to login twice, isn't it?
So, in our ASP.NET 2.0 components, we would like to get the login
information from the classic ASP page. Fortunately, login info is
probably the only data we wanna get from the classic ASP pages.
In our ASP.NET page, we have managed to get the user login info from
the classic ASP page through the trick provided by Peter A. Bromberg at
the following URL:
http://www.eggheadcafe.com/articles/20021207.asp
I have to say it is a great trick.
This trick works nicely in a folder which does not contain web.config.
But it seems the session objects cannot be transferred to any ASPX
pages in a folder that contains web.config. I've tested it a dozen of
times.
Did I make clear what problem I am having? If not clear, please ask.
If you have a good solution to sharing session objects between classic
ASP and ASP.NET, please educate. Thanks a lot.
ago. We will add more components to this web application in ASP.NET
2.0.
To use the web application, our web users will have to log in with
their user name and password.
Well, instead of adding components to the existing classic ASP web
application, we could have just put the extended components into a new
web application. But then this would require them to log into this new
application.
It is annoying to have to login twice, isn't it?
So, in our ASP.NET 2.0 components, we would like to get the login
information from the classic ASP page. Fortunately, login info is
probably the only data we wanna get from the classic ASP pages.
In our ASP.NET page, we have managed to get the user login info from
the classic ASP page through the trick provided by Peter A. Bromberg at
the following URL:
http://www.eggheadcafe.com/articles/20021207.asp
I have to say it is a great trick.
This trick works nicely in a folder which does not contain web.config.
But it seems the session objects cannot be transferred to any ASPX
pages in a folder that contains web.config. I've tested it a dozen of
times.
Did I make clear what problem I am having? If not clear, please ask.
If you have a good solution to sharing session objects between classic
ASP and ASP.NET, please educate. Thanks a lot.