response.buffer in ASP?

windows

Guest
Ok, i have a web page that takes while to load. I understand the concept of buffering output and response.flushing it when a portion has been completed by the server. There's quite a lot of DB activity prior to the page loading.

However, the top portion of the page is to contain buttons and banners. How can I get these to display while the rest of the page is loading. I've set Repsonse.buffer = True as the very 1st line and just after the 1st <table> is drawn (with banners and buttons) I perform a response.flush. Nothing is displayed until thew entire script content is sent to the browser. It's loading but the user has to wait a while for things to appear.

If i click the stop button, you can see that some of it is there cos its drawn the portion of the page that did load.

How the heck can i get the top portion of the page to be displayed while the rest of the script is being executed or being sent to the browser? Muchos Helpos required...:confused:
 
Back
Top