Stopping a large upload from continuing (wodWebServer / wodWebServer.NET)
Hi there,
I am trying to stop users from uploading a large file.
I can disconnect them before they upload it using the following code in the RequestHeaders event:
Dim sf As String = e.user.Request.Headers( Content-Length ).Value
But, rather than disconnecting the user, I want to redirect the user to an error page (or output some sort of message) without them continuing with the upload. How can this be done?
Complete thread:
- Stopping a large upload from continuing - Simon, 2009-06-03, 15:41
- Re: Stopping a large upload from continuing - woddrazen, 2009-06-03, 15:57
- Re: Stopping a large upload from continuing - wodcg, 2009-06-10, 00:30
- Re: Stopping a large upload from continuing - woddrazen, 2009-06-03, 15:57