Ask a Question related to ASP.NET General, Design and Development.
-
Peter Rilling #1
What happens if more than one HttpHandler is registered for a file type?
Okay, I need to create an HttpHandler that will process all requests to the
server so that I can perform special logging. What happens if there are
more than one handler registered with the same file extension? For
instance, someone accesses a .aspx page. Normally that would only be
handled by normal handler. What I want to do is register a handler for this
extension, but also allow the normal handler to process it after I am done.
I won't be writing anything to the response stream, I just want code to run
on each request. Will this cause problem?
Peter Rilling Guest
-
authentication for httphandler
Hi, I have several httphandlers in a web app. I need to set up a very simple authentication system for users to access these handlers. The... -
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type ?
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
HttpHandler not working :-)
I have a simple HttpHandler //-- using System.Web; namespace Acme { public class SimpleHandler : IHttpHandler { public void... -
file name of file that reference to type glob points to
Hey all. This is probably a elementary question, but I can't seem to be able to find a builtin function or combination of functions that will let... -
Kevin Spencer #2
Re: What happens if more than one HttpHandler is registered for a file type?
Why don't you just create an inherited Page class that does your task with
each Request, and then inherit that for all of your Pages?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"Peter Rilling" <peter@nospam.rilling.net> wrote in message
news:eD9J30mWDHA.3612@tk2msftngp13.phx.gbl...the> Okay, I need to create an HttpHandler that will process all requests tothis> server so that I can perform special logging. What happens if there are
> more than one handler registered with the same file extension? For
> instance, someone accesses a .aspx page. Normally that would only be
> handled by normal handler. What I want to do is register a handler fordone.> extension, but also allow the normal handler to process it after I amrun> I won't be writing anything to the response stream, I just want code to> on each request. Will this cause problem?
>
>
Kevin Spencer Guest
-
John Saunders #3
Re: What happens if more than one HttpHandler is registered for a file type?
This sounds like you want an HttpModule, not an HttpHandler.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Peter Rilling" <peter@nospam.rilling.net> wrote in message
news:eD9J30mWDHA.3612@tk2msftngp13.phx.gbl...the> Okay, I need to create an HttpHandler that will process all requests tothis> server so that I can perform special logging. What happens if there are
> more than one handler registered with the same file extension? For
> instance, someone accesses a .aspx page. Normally that would only be
> handled by normal handler. What I want to do is register a handler fordone.> extension, but also allow the normal handler to process it after I amrun> I won't be writing anything to the response stream, I just want code to> on each request. Will this cause problem?
>
>
John Saunders Guest
-
Peter Rilling #4
Re: What happens if more than one HttpHandler is registered for a file type?
Because my team does not control the pages or any of the site content for
that matter. Also, I need to perform special logging for static content as
well (e.g. gif, jpg, css, etc.)
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:#IpCudoWDHA.1620@TK2MSFTNGP12.phx.gbl...> Why don't you just create an inherited Page class that does your task with
> each Request, and then inherit that for all of your Pages?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "Peter Rilling" <peter@nospam.rilling.net> wrote in message
> news:eD9J30mWDHA.3612@tk2msftngp13.phx.gbl...> the> > Okay, I need to create an HttpHandler that will process all requests to> this> > server so that I can perform special logging. What happens if there are
> > more than one handler registered with the same file extension? For
> > instance, someone accesses a .aspx page. Normally that would only be
> > handled by normal handler. What I want to do is register a handler for> done.> > extension, but also allow the normal handler to process it after I am> run> > I won't be writing anything to the response stream, I just want code to>> > on each request. Will this cause problem?
> >
> >
>
Peter Rilling Guest
-
Peter Rilling #5
Re: What happens if more than one HttpHandler is registered for a file type?
Two additional points.
1) I need to be able to trap requests for all file types, including ASP,
GIF, CSS, etc.
2) I need to be able to access the user's authenticated identity for that
page request.
"Peter Rilling" <peter@nospam.rilling.net> wrote in message
news:eD9J30mWDHA.3612@tk2msftngp13.phx.gbl...the> Okay, I need to create an HttpHandler that will process all requests tothis> server so that I can perform special logging. What happens if there are
> more than one handler registered with the same file extension? For
> instance, someone accesses a .aspx page. Normally that would only be
> handled by normal handler. What I want to do is register a handler fordone.> extension, but also allow the normal handler to process it after I amrun> I won't be writing anything to the response stream, I just want code to> on each request. Will this cause problem?
>
>
Peter Rilling Guest



Reply With Quote

