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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:11:55+00:00 2026-05-12T06:11:55+00:00

is there any chance to show a loading bar while creating something in a

  • 0

is there any chance to show a loading bar while creating something in a loop with classic asp?

I thought about some ajax-style loading bar which shows that the page is stil creating something.

I tried to do it with session variables which contains status information of the process but on this i found out that asp servers have a queue which means you can run only one asp-page at the same time.

While loading the asp-page i cant open another asp-page on the sam server with the same session. With a new Session is this possible but i want to work with the same session ( if this is possible ).

Thoughts:
Can it be done with a ajax request which requests the asp-page and shows a loading bar while the page is loading?

Is there any workaround to work a status bar out?

(sorry for bad english)
Thank you

Edit:

I this way but i can’t access the session variable over a asp-page.
The session reader page gives me only a answer after the first asp-request is done. I think this is a session-queue-think.

it looks like this for me:

ajax page –(request process asp page)-> process.asp

(same ajax page) –(request session reader page)-> sessionreader.asp

while sessionstatus != 100 show process bar

the problem is i got a answer from sessionreader.asp when the process.asp is done. That is why i think this is a asp-session-queue-think.

Maybe it will work if a give the second request a new Session id (if this is possible at all) ?

  • 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-12T06:11:55+00:00Added an answer on May 12, 2026 at 6:11 am

    There used to be a trick with either disabling the Response.Buffer (set it to false) or let it be buffered, but from time to time you do Response.Flush as you want to update your progress.

    So, say you have your progress bar somewhere on top portion of your page (either image or table or div or whatever you want) and as you do something in asp script (say in a loop), from time to time, flush a javascript back to the client to update the progress bar that should already be on the screen. something like:

    <%
      REM Might be a good idea to set the timeout to some large number here...
      Response.Timeout = ...
    %>
    <html>
    :
    <body>
      <p>Please wait...<span id="progress">0</span>% completed.</p>
      : content here...
      <%
      REM Make sure the things above this get sent to the client first
      REM so they will be rendered before the rest of the page is rendered.
      Response.Flush()
    
      For iCnt = 0 To 100
        REM Do some stuffs here...
    
      %>
        <script>$("#progress").html(i)</script>
      <%
        Response.Flush()
      Next
      %>
      : some more contents here...
    </body>
    </html>
    

    I’m not sure if this still works with modern browsers, haven’t use it in a while.

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

Sidebar

Ask A Question

Stats

  • Questions 305k
  • Answers 305k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It seems to be the bug reported here: http://groups.google.com/group/ggplot2/browse_thread/thread/6a7929d2b122efb2 May 13, 2026 at 9:06 pm
  • Editorial Team
    Editorial Team added an answer When SQL Server Mgmt Studio creates a view, I assume… May 13, 2026 at 9:06 pm
  • Editorial Team
    Editorial Team added an answer wx.TR_HAS_VARIABLE_ROW_HEIGHT applies to wx.TreeCntrl not wx.gizmos.TreeListCtrl, read http://www.wxpython.org/docs/api/wx.gizmos.TreeListCtrl-class.html to see… May 13, 2026 at 9:06 pm

Related Questions

Randomly and without warning (or apparent reason), VS 2008 decided to act as if
sorry if this is pretty vague.im happy to provide any further information should it
I have a requirement to hide the contextmenustrip when a particular flag is not
I have a form/subform for inputting data into an ado table. The main form's

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.