Morten,
I feel that you'll need to make a tradeoff somewhere between
elegance+simplicity and accuracy+load. Your first option is to create a
real simple PLEASE WAIT page with some details on it and the time it might
take.
But if you want the user to know what's going on when, then you can use
Resonse.Flush()es to write chunks of text to the browser indicating the
processes that have been performed. (Look at
www.wwhois.com to see what I
mean)
And yet another option would be to use XMLHTTP to perform requests to the
page with your 4 operations, and updating content in your calling page as
and when a process is complete.
The last two methods can prove to be 'heavy' on the server, and if you have
a *LOT* of visitors on your site, then you shouldn't consider it. Else,
have fun implementing it.
HTH
Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Morten Wennevik" <Mo*************@email.adr> wrote in message
news:op***************@tr023.bouvet.no...
Hi,
Upon clicking a button I perform some heavy server side calculations
lasting up to five minutes. During this time, the web page appear to be
loading the response page.
Is there some elegant way to show progress to the user? The server side
calculations are done in four separate methods. I imagine the user might
be interested in knowing when one method is done and the next is running.
Javascript and threading?
Morten