Home > Archive > ASP .NET > January 2008 > pass processing back to asp.dll
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
pass processing back to asp.dll
|
|
|
| Hi,
I'm trying use the authentication of asp.net inside "classic asp"
inside IIS i have configured the extension ".asp" to be handled by
v2.0.50727\aspnet_isapi.dll
So now my code inside Application_AuthenticateRequest will run when
the request is made to an .asp page. And I can put web.config files to
do role base security to prevent access to certain .asp pages based on
roles.
Now I can't figure out how to pass the processing back to the old
asp.dll .
In the root web.config i added a http handler
<add verb="*" path="*.asp" type="???????"/>
But what should I put as the type="???"
so that it will pass processing now to the asp.dll .
Can I create a custom type to do this? Or has someone made one before/
Thanks,
Eric
| |
|
|
| Harshal 2008-01-19, 4:28 am |
| I think the httpHandler entry in Web.Config expects a .NET class. ASP.dll is
a native dll and I am afraid that you can not pass control back to classic
ASP.
Thanks,
Harshal Pachpande
"Eric" <eweiss1979@gmail.com> wrote in message
news:5bbb1823-b0aa-46bf-97b4-9774acc9a98e@v4g2000hsf.googlegroups.com...
> Hi,
> I'm trying use the authentication of asp.net inside "classic asp"
>
> inside IIS i have configured the extension ".asp" to be handled by
> v2.0.50727\aspnet_isapi.dll
>
> So now my code inside Application_AuthenticateRequest will run when
> the request is made to an .asp page. And I can put web.config files to
> do role base security to prevent access to certain .asp pages based on
> roles.
>
> Now I can't figure out how to pass the processing back to the old
> asp.dll .
>
> In the root web.config i added a http handler
> <add verb="*" path="*.asp" type="???????"/>
>
> But what should I put as the type="???"
> so that it will pass processing now to the asp.dll .
>
> Can I create a custom type to do this? Or has someone made one before/
>
> Thanks,
>
> Eric
|
|
|
|
|