G
Guest
Hi all
I'm developing a site where visitors can upload images (using the html file
input control). As most webhosting companies set a monthly bandwidth limit I
want to try and limit the size of uploads.
I thought about using the <httpRuntime> "maxRequestLength" setting, which
throws an exception if a HTTP request is too large. Does anyone know if this
will work, or will it occur too late in the request lifecycle. I.E. will the
webhost's bandwidth monitor "capture" the request before ASP.Net (or IIS?)
rejects the request length?
Many thanks
Andy
I'm developing a site where visitors can upload images (using the html file
input control). As most webhosting companies set a monthly bandwidth limit I
want to try and limit the size of uploads.
I thought about using the <httpRuntime> "maxRequestLength" setting, which
throws an exception if a HTTP request is too large. Does anyone know if this
will work, or will it occur too late in the request lifecycle. I.E. will the
webhost's bandwidth monitor "capture" the request before ASP.Net (or IIS?)
rejects the request length?
Many thanks
Andy