ASP Progress Indicator

I am connection to a web service using  Server.CreateObject("MSXML2.ServerXMLHTTP"). I need a way to show a graphic or text while this process is taking place. Something like "Please wait while your request is being processed". Is this possible in ASP? Thanks!
stephentriceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CtrlAltDlCommented:
Ok first you display your progress indicator:
    <img name="progressMeter" src="../images/aniProgressMeter.gif" alt="Please wait."><br></p>
Then do your XML crap.

Then you replace the progress indicator with this:
     <script Language="JavaScript">
         document.progressMeter.src = "./images/blank.gif"
     </script>

Then you forward them to the new page:
     <script Language="JavaScript">
            location.replace("myNewPage.asp")
     <script>
0
stephentriceAuthor Commented:
The problem I am seeing with this solution is the server process the entire script before it returns anything to the browser. So it does not try and display the graphic untill the XML request has been sent and received.
0
CtrlAltDlCommented:
I forgot to mention you'll need to turn off the Response.Buffer at the beginning of the ASP page:
     Response.Buffer = False
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stephentriceAuthor Commented:
Thanks You! It works great!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.