Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6950931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:09:16+00:00 2026-05-27T14:09:16+00:00

For my web app i have flash component for uploading files. I would like

  • 0

For my web app i have flash component for uploading files. I would like to handle max file size limit on client side without actual sending that file to server. So i need to read that value from config file somehow to send it to client. Some articles i had found said that reading directly config file is not solution, because it can be changed in whole lot of places. So there should be some API call probably, but i cannot find any…

<system.webServer>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="1048576" />
        </requestFiltering>
    </security>
</system.webServer>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:09:17+00:00Added an answer on May 27, 2026 at 2:09 pm

    Try this way

    You can change the below segment of code based on the web configuration in the config file

    My web.config some look like

    <system.web>
      <httpRuntime executionTimeout="30"  maxRequestLength="100"/>
    

    Here you can see maxRequestLength is defined as 100 which can be changed from code behind page

    Add using System.Web.Configuration;

    Now write this code to change the value of maxRequestLength

    Configuration configuration = WebConfigurationManager.OpenWebConfiguration("~");
    HttpRuntimeSection httpruntinesec =
        (HttpRuntimeSection)configuration.GetSection("system.web/httpRuntime");
    

    You can use httpruntinesce instance set the value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flash web app which displays user submitted PNG files. Files are
I have a feature in my web app like I have to send mails
Hello I am a Java web app developer I have a problem, I would
I am using an embedded flash movie in my web page. I would like
I have a web app that uses a flash uploader (swfuploader) and recently a
I have a client who has video content for the web in Flash format.
I have been trying to use an ajax-style file upload component (like the dojox
I'm writing a web based flash app that's written entirely in AS3. I have
First off, The Problem: We have a Web App with a Flash front-end that
In the web.xml of my web app I have configured the server as following:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.