RE: httpHandlers problem
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Fri, 16 Mar 2007 09:40:23 GMT
Hi Dave,
According to your httphandler, are you just wantting to let it intercept
all those requests with the *.rtf format regardless of the path hierarchy
in your web application, correct? For example, you want the handler be able
to intercept all the paths below:
/appliation/report.rtf
/application/subdir/report.rtf
/application/subdir/subdir/report.rtf
..........
If so, the following path setting is enough:
<httpHandlers>
<add verb="*" type="MyRtfHandler" path="*.rtf" />
.............
And you can intercept those *.rtf requests in all the directory hierarchy
(as long as it is under your application's root dir). If you want further
filtering, you can do it in the httphandler's code manually.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: httpHandlers problem
- From: David Thielen
- RE: httpHandlers problem
- Prev by Date: RE: Usercontrol with ajax update panel causes null reference exception.
- Next by Date: Re: Error trapping in global.asax
- Previous by thread: How can I create an innocuous SQL injection attempt to test apps and evaluate the result programmatically?
- Next by thread: RE: httpHandlers problem
- Index(es):
Relevant Pages
|
Loading