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

  • Home
  • SEARCH
  • 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 4591944
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:28:03+00:00 2026-05-21T22:28:03+00:00

The scenario: user uploads a small file or about 100 kB to the ASP.NET

  • 0

The scenario:

user uploads a small file or about 100 kB to the ASP.NET 4.0 application with perhaps 1000 units of work.
The server then gets to work on the units of work, one at a time.
Each unit takes a few seconds to complete due to requesting information from an external service.
The results are only saved to the database if all units were completed successfully, using a transaction.
Once completed, the user may get a list of what was done.

The problem is that the user does not get the confirmation, instead his browser I think gives up because of a timeout.

Future files are expected to be a few 100 times larger, increasing the problem.

I want to prevent this timeout.

Here are some ideas I had:

  1. Optimize the code to run faster. This is done and is no longer the problem.
  2. Run the requests to the external service in parallel.
  3. Increase the server timeouts a little.
  4. Let the user upload the file and then send him an email with the results later when the file has been processed.
  5. Somehow make the page refresh and show some progress information to the user while waiting, e.g., 5% complete – done in 10 minutes.

How could I implement this last step, showing progress information and preventing browser timeout?

Other suggestions are welcome.

Thanks,

  • 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-21T22:28:04+00:00Added an answer on May 21, 2026 at 10:28 pm

    You put the data uploaded into a queue in your database. Then, you have an asynchronous process (example Windows Service) to pull items from your queue and process them. You can update your DB with progress of each operation, and when full completed, remove the item from the queue and update your other tables.

    For progress, the user can then query the queue table for the status of his upload.

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

Sidebar

Related Questions

I have a scenario wherein the user uploads a file to the system. The
I have a file upload function in my asp.net mvc application that allows users
Here is a scenario: User installs .NET application that you have made. After some
So, the scenario is this: A user uploads a file, my code turns this
I have a scenario where users of my ASP.NET web application submit testimonials consisting
I have a scenario where a user uploads an image file. I strip the
.Net Compact Framework Scenario: User is on a screen. Device can't finds a printer
we have the following scenario: * a .NET application allows users to upload documents.
Scenario - It is an simple application through which only single user ( NO
I have a scenario where a user will upload an XML file, and I'd

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.