[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Http Module Problem: not all requests hit my module why?

Someone@yahoo.com

9/26/2002 1:34:00 AM

Hello everybody!
I deleloped own http module.
The module reads Request vars and does some actions.
It works perfect with .asp, .aspx BUT if I try to use e.g.:
http://myhost/test.mp3?key=1234
such request does not hit my httpmodule
at the same time request like:
http://myhost/test.aspx?key=1234 comes to my module and I can treat the
request.

The question is Why?

Thank you!
Al


2 Answers

(Bill Cheng (MS))

9/30/2002 6:12:00 AM

0

Hi,

Have you configured IIS to forward the request of .mp3 files to ASP.NET? It
should be like the one described in the article below:
Q308001 HOW TO: Create an ASP.NET HTTP Handler by Using Visual C# .NET
http://support.microsoft.com/support/kb/articles/q30...

Here are more references:
Q307985 INFO: ASP.NET HTTP Modules and HTTP Handlers Overview
http://support.microsoft.com/support/kb/articles/q30...

Q307996 HOW TO: Create an ASP.NET HTTP Module Using Visual C# .NET
http://support.microsoft.com/support/kb/articles/q30...


This posting is provided "AS IS" with no warranties, and confers no rights.

Regards,

Bill Cheng
Microsoft Support Engineer
--------------------
| From: "Al" <someone@yahoo.com>
| Subject: Http Module Problem: not all requests hit my module why?
| Date: Wed, 25 Sep 2002 16:34:02 -0700
| Lines: 16
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <OuhfO$IZCHA.4080@tkmsftngp08>
| Newsgroups: microsoft.public.dotnet.framework.sdk
| NNTP-Posting-Host: 194.190.213.37
| Path: cpmsftngxa09!cpmsftngxa10!tkmsftngp01!tkmsftngp08
| Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:4558
| X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
|
| Hello everybody!
| I deleloped own http module.
| The module reads Request vars and does some actions.
| It works perfect with .asp, .aspx BUT if I try to use e.g.:
| http://myhost/test.mp3?key=1234
| such request does not hit my httpmodule
| at the same time request like:
| http://myhost/test.aspx?key=1234 comes to my module and I can treat the
| request.
|
| The question is Why?
|
| Thank you!
| Al
|
|
|

Someone@yahoo.com

9/30/2002 11:55:00 PM

0

Thank you Bill. It Works!!

Thanks again!
Al
"Bill Cheng (MS)" <billcheng@online.microsoft.com> wrote in message
news:71imkREaCHA.1652@cpmsftngxa09...
> Hi,
>
> Have you configured IIS to forward the request of .mp3 files to ASP.NET?
It
> should be like the one described in the article below:
> Q308001 HOW TO: Create an ASP.NET HTTP Handler by Using Visual C# .NET
> http://support.microsoft.com/support/kb/articles/q30...
>
> Here are more references:
> Q307985 INFO: ASP.NET HTTP Modules and HTTP Handlers Overview
> http://support.microsoft.com/support/kb/articles/q30...
>
> Q307996 HOW TO: Create an ASP.NET HTTP Module Using Visual C# .NET
> http://support.microsoft.com/support/kb/articles/q30...
>
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Regards,
>
> Bill Cheng
> Microsoft Support Engineer
> --------------------
> | From: "Al" <someone@yahoo.com>
> | Subject: Http Module Problem: not all requests hit my module why?
> | Date: Wed, 25 Sep 2002 16:34:02 -0700
> | Lines: 16
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> | Message-ID: <OuhfO$IZCHA.4080@tkmsftngp08>
> | Newsgroups: microsoft.public.dotnet.framework.sdk
> | NNTP-Posting-Host: 194.190.213.37
> | Path: cpmsftngxa09!cpmsftngxa10!tkmsftngp01!tkmsftngp08
> | Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:4558
> | X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
> |
> | Hello everybody!
> | I deleloped own http module.
> | The module reads Request vars and does some actions.
> | It works perfect with .asp, .aspx BUT if I try to use e.g.:
> | http://myhost/test.mp3?key=1234
> | such request does not hit my httpmodule
> | at the same time request like:
> | http://myhost/test.aspx?key=1234 comes to my module and I can treat the
> | request.
> |
> | The question is Why?
> |
> | Thank you!
> | Al
> |
> |
> |
>