Click here to Skip to main content
11,567,539 members (44,412 online)
Click here to Skip to main content

Tagged as

how to restrict size of file upload in asp.net

, 29 Jul 2011 CPOL 24.5K 8
Rate this:
Please Sign up or sign in to vote.
How to restrcit the size of file uploads in ASP.NET
how to restrict size of file upload in asp.net

<system.web>
<httpRuntime executionTimeout="9999" maxRequestLength="2097151"/>
</system.web>

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

harikreddy
Web Developer Cholamandalam MS General Insurance
India India
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralMy vote of 5 Pin
manoj.jsm13-Jun-13 20:46
membermanoj.jsm13-Jun-13 20:46 
General<system.web> <httpRuntime executionTimeout="9999" maxRequest... Pin
ashika menon3-Aug-11 1:22
memberashika menon3-Aug-11 1:22 
Generalhii, wre i gve this? <system.web> <httpRuntime executionTime... Pin
ashika menon3-Aug-11 1:22
memberashika menon3-Aug-11 1:22 
GeneralRe: in the 'web.config' file Pin
RaajTalluri10-Aug-11 1:46
memberRaajTalluri10-Aug-11 1:46 
GeneralReason for my vote of 4 Pros: simple, global and gives admin... Pin
GATzilla28-Jul-11 19:10
memberGATzilla28-Jul-11 19:10 
GeneralRe: <i>what if you need different limits for different site area... Pin
Monjurul Habib29-Jul-11 5:20
memberMonjurul Habib29-Jul-11 5:20 
GeneralReason for my vote of 5 nice for global restriction Pin
Monjurul Habib28-Jul-11 11:41
memberMonjurul Habib28-Jul-11 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150624.2 | Last Updated 29 Jul 2011
Article Copyright 2011 by harikreddy
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid