Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:82319
More Search Options
RSS Available
Matching Posts
Re: HttpHandler or HttpModule for file upload, large files, progress indicator?
Rasmus (ups101): Here's how to get at the HttpWorkerRequest from within a BeginRequest handler (I found it in another thread): private void OnBeginRequest(object src, EventArgs e) { HttpApplication app = (HttpApplication)src; HttpWorkerRequest workerRequest = (HttpWorkerRequest)app.Context.GetType() .GetProperty("WorkerRequest", (BindingFlags)36) .GetValue(app.Context, null); } Also of interest, here's what I found on "ending a request" in an HttpModule: The HttpApplication object
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 12/16/2002
Re: Somebody must know the answer, please help: HttpHandler or HttpModule for file upload, large files, progress indicator?
To Rasmus, I looked into asynch httphandlers, but it would seem that these are for when your custom processing needs to do asynch work. ASP.NET just calls you once, then you call ASP.NET back when you are done with your processing. From what I have found in many, many web searches for docs, the first thing that happens when a request (posted file) comes in is that IIS mapping determines that it should go to the ASP.NET dll, and then IIS "forwards" the request to whatever BeginRequest handler
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 12/5/2002
Re: Somebody must know the answer, please help: HttpHandler or HttpModule for file upload, large files, progress indicator?
To Marc Hoeppner: Yes, as I mentioned in my previous post, I am using the "second window" method to keep the upload alive (actually I use a modeless dialog box that contains aframeset that contains an aspx page that contains client script that refreshes every few seconds, but that's not my issue) My issue is that the post from the main page uses the <input type=file> control, so the *entire* file (or files) are sent in one big http request. While this works, the aspx page receiving
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 11/12/2002
Re: Somebody must know the answer, please help: HttpHandler or HttpModule for file upload, large files, progress indicator?
To micklemj: Increasing the script timeout and execution timeout won't help, it's the aspnet_wp.exe process that thinks it's deadlocked after 180 seconds and "recycles" itself for you (how nice of it!). I have found a partial solution though. As long as ASP.NET is serving some requests, aspnet_wp won't timeout. I have used this solution for uploads that take up to an hour with success. The way to make it work is to spawn a new window from the page before starting the upload. The code in
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 11/11/2002
Somebody must know the answer, please help: HttpHandler or HttpModule for file upload, large files, progress indicator?
Somebody in this forum most have dealt with this issue, and I could really use some advice. Perhaps my last post was not worded correctly, here's a simplification: The built-in file upload handling features of ASP.NET load the entire request into server memory before you can save the file. If the file is large, this can cause execution timeouts, or at the very least, consume *huge* amounts of server memory. What I am looking for is a way to intercept an incoming request (asynchronously, I suppose
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 9/27/2002
HttpHandler or HttpModule for file upload, large files, progress indicator?
I would like to use the built-in file upload handling features of ASP.NET, however I have found that even if you increase the maxRequestLength and executionTimeout values, after 180 seconds, the aspnet_wp is recycled because it thinks it is deadlocked. In addition, there is the issue that there is no feedback to the client of whether the upload is proceeding or encountered an error (the globe just sits and spins). What would be ideal would be to asynchronously intercept the incoming request in an
Posted to
HttpHandlers and HttpModules
(Forum)
by
J B. Podolak
on 9/22/2002
Page 1 of 1 (6 items)
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
ASP.NET:
Bytes by MSDN: Brad Abrams Interview with Billy Hollis: Silverlight 4, RIA Services and VS2010
Mix Online:
Pictures or it Didn't Happen
Channel 9:
Reactive Extensions API in depth: even more Zip
TechNet Edge:
SDL For Agile
Mix Online:
Test Lab Note
Channel 9:
Enabling Help in the Visual Studio 2010 Shell
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online