Dynamically update <div> while asp script is looping using response.flush

I sort of did this before, but it doesn't work right and I want to start from scratch. I have attached some pseudo code, and I would appreciate someone telling me how to make it update the div tag at the top with the MACHINENAME it is currently scanning. I am using ASP.

ASP is a web server language. As a remote web application, it should have no access whatsoever to a user's local machine. To do this is a violation of the sandbox model of web code, that it should not be able to intrude on or gather information from any person's local computer. Any code you generate in this way will only be microsoft specific, and only for those people dumb enough to allow active-X controls to invade their own privacy. This will never work on any browser other than IE, and thank goodness it won't. The last thing I and most other people want is a web site finding out what computer we are running.

Anyway, to do this, look into active -X controls and hope everyone is running IE with a wide open system.

Just pretend it's looping through records in a database. I want something that shows what record it is currently on. Like at the top of the page I want it to say "Now scanning XXX...", then when it loops to the next item it will update to say "Now scanning YYY...".

Oddly, the iframe never appears until it finishes the report, at that time it does display the proper information (the last piece of data). however, if you watch the browseres status bar, you can see it referencing status.asp and passing the proper variables.

Featured Post

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Foreword (July, 2015)
Since I first wrote this article, years ago, a great many more people have begun using the internet. They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.

The viewer will receive an overview of the basics of CSS showing inline styles.
In the head tags set up your style tags:
(CODE)
Reference the nav tag and set your properties.: (CODE)
Set the reference for the UL element and styles for it to ensu…

The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)