D
Daniel Schwab
Hi
I have a C# component which needs to be accessed from ASP-Pages (not .net,
old-style-asp).
I cannot convert the asp pages to aspx pages at this time! They need to
remain in ASP for a while.
I wrote the component according to the guide from
http://www.codeproject.com/dotnet/nettocom.asp
it works, i can pass ints & strings from ASP to C# and backwards
But i cannot pass the session- and the request-object from ASP to the C#
Component.
According to MS the Object is not longer a Collection but a
NameValueCollection
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Dnaspp/htm
l/aspnetmigrissues.asp?frame=true#aspnetmigrissues_state)
so, now my questions:
1) Is there any way/workaround/converter (??) to pass an Request and a
Session Object from
an old style ASP Page to an C# Component? how should that work?
2) is my approach (so far) right for what i want to do?
3) any other ideas to solve my problem? ;-)
thanks & bye
daniel
I have a C# component which needs to be accessed from ASP-Pages (not .net,
old-style-asp).
I cannot convert the asp pages to aspx pages at this time! They need to
remain in ASP for a while.
I wrote the component according to the guide from
http://www.codeproject.com/dotnet/nettocom.asp
it works, i can pass ints & strings from ASP to C# and backwards
But i cannot pass the session- and the request-object from ASP to the C#
Component.
According to MS the Object is not longer a Collection but a
NameValueCollection
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Dnaspp/htm
l/aspnetmigrissues.asp?frame=true#aspnetmigrissues_state)
so, now my questions:
1) Is there any way/workaround/converter (??) to pass an Request and a
Session Object from
an old style ASP Page to an C# Component? how should that work?
2) is my approach (so far) right for what i want to do?
3) any other ideas to solve my problem? ;-)
thanks & bye
daniel