title: Classic ASP - show progress bar while the page is being loaded
body: <p>I am working on an ASP website. Users clicks on View details button to go to View details page.</p>
  
  <p>It takes long time to connect to DB and fetch all the details from the tables. </p>
  
  <p>The page is in hung/froze state for a long time and then displays the details. </p>
  
  <p>I want to show a progress bar or a message saying "data is still loading" to the user before the data is displayed.</p>
  
  <pre><code>Page1: MainPage.asp page
  &lt;form action="ViewDetails.asp" method="POST"&gt;
  
  &lt;input type="Submit" name="Submitbutton" value="View Details"&gt;
  
  Page 2: ViewDetails.asp 
  Code to view details goes here.
  </code></pre>
  
  <p>How to display a progress bar in ASP website when the data is being fetched in the background?</p>
  
  <p>The progress bar should disappear after the data is being loaded.
  Is there any options to display a progress bar in ASP code?
  Any suggestions on this would be helpful.</p>
  
  <p>Thanks
  Ashok</p>