HttpHandlers and HttpModules
HttpHandler or HttpModule for file upload, large files, progress indi...
Re: HttpHandler or HttpModule for file upload, large files, progress...
View Complete Thread
Re: HttpHandler or HttpModule for file upload, large files, progress indicator?
Jul 15, 2003 05:43 PM
HTTP Module -> Http Handler: Just want to tell you that the upload component can be written as a HTTP Handler instead of a HTTP Module! There is really no trick to it. Just copy/paste the code into a http handler instead. I've moved to a http handler to get rid of the performance penalty that a http module gives. It is irritating to know that every page request has to go around a http module, even if 99 out of 100 request aren't file uploads. With http handlers we are back to more standard ways of doing things. The upload can still be fully interceptet and uploaded in small chunks, even though we are now at a much lower level at the http pipeline. However, I still think we have to stay away from using session state. I think this will trigger the standard request parsing...though someone might be able to work around this? Kind regards, Rasmus