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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:13:31+00:00 2026-05-25T23:13:31+00:00

I ask the user to input some data, after that I redirect him to

  • 0

I ask the user to input some data, after that I redirect him to a ‘result’ website which takes several seconds to load.

I don’t like this, because there is no user feedback telling him, that the server has not crashed and that his result is coming. So I was thinking about showing the user a ‘loading’ website stating ‘please wait’ and then automatically redirect him to the ‘result’ page. The user would see the “please-wait”-website the whole time the other one is loading, as Flask does not serve the site before it is finished with the calculations.

[Attempt to clarify]
One of the pages takes so long, because it waits for a file upload. The other side takes so long because its functions wait for data from a third party api.

How would I do that in Flask?

  • 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-25T23:13:32+00:00Added an answer on May 25, 2026 at 11:13 pm

    Flask’s documentation for file uploads includes a section on implementing progress bars for file uploads. Choose one of the many client-side solutions to display the progress of the upload and then redirect once the upload is complete.

    For the long-running server side process you have several options:

    • Pre-fetch (and cache) the data from the slow-to-respond API.
    • Hijack your link’s action with JavaScript and make an ajax request for the data – update the DOM with a status message to let the user know that everything is still working.
    • Have a three step process. Page #1 has a link to the “Please wait … ” page (Page #2). Page #2 has a meta refresh tag pointing at Page #3 (<meta http-equiv="refresh" content="0; url=/path/to/page3">)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form in which user input some details and then click a
Input: The customer claims that the application (.NET) when querying for some data returns
With Visual Studio Setup Project I can ask for the user for some input,
I'm writing a Ruby on Rails app which with user input will generate some
i am trying to write program,which ask user to enter some letters or strings
want to ask user to input something but not want to wait forever. There
My perl script needs to ask the user for a password to download some
I would like to make my application ask the user some informations via something
I'm writing a MIPS assembly code that will ask the user for the file
I have a homework assignment which asks to have the user input a date

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.