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 9073377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:24:10+00:00 2026-06-16T18:24:10+00:00

What I have is a process on the server that runs and takes a

  • 0

What I have is a process on the server that runs and takes a lot of time. It essentially builds some data tables that are displayed on a page on post-back.

What I want is a way to log progress somewhere while the server process is running and report that on the page I am looking at before it is refreshed with the completed data.

Is this even possible? The best way I can think of to do this is to log progress to a file on the server and periodically read the file contents via Ajax/Javascript, but this seems like a kludge.

Maybe this is possible using multiple pages or threads. I’m not sure.

Any suggestions?

Edit:
The main goal is to show a progress bar of some sort on the web page to show the above mentioned progress.

  • 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-06-16T18:24:11+00:00Added an answer on June 16, 2026 at 6:24 pm

    Is this even possible?

    Yes, but it’s not easy, or pretty.

    The best way I can think of to do this is to log progress to a file on the server and periodically read the file contents via Ajax/Javascript, but this seems like a kludge.

    Yep, pretty much. Other options are to use a database to store the info, or session, but any storage location that can be accessed somehow through an Ajax request would work. You’ll no doubt want to make a web service or similar to abstract away whatever storage method you use.

    Here is an implementation of that general approach in a Microsoft example. It uses Session to store the current progress, and relied heavily on ASP-based constructs.

    Another avenue entirely would be to set up a websocket between the client and the server which would allow you to push information from the server to the client. It would likely perform better (reduced network IO), although it may not be easier to set up. I don’t have any examples (or experience attempting) such a solution though.

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

Sidebar

Related Questions

I have android app that talks to server and syncs some data int SQLite
In a GWT application, I have a long process that runs server side and
I have a process that runs on a SQL server that is set to
I have a defined number of servers that can locally process data in their
We have an SSIS package that runs nightly which takes the backup of a
We have found a problem with our deployment to a production server that runs
Fairly new to Node.js Made an app that runs a server process and serve
So we have a java process that runs as a windows service. It needs
So we have a process that runs and it calls our DB to get
I have an application that runs on a server under Solaris. This application exports

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.