asp.net - Validate upload size to prevent HTTP Exception -
i building application integrated audio upload, though have problem application running system.web.httpexception: maximum request length exceeded when uploading audio files on 10mb, have configured in web.config
<httpruntime maxrequestlength="10485">
i know possibility increase request limits in order prevent exception, instead of allowing larger files want catch , prevent http request.
it may possible validate size client side, client side validation can bypassed looking server side validation doesn't requires me increase limits.
Comments
Post a Comment