I have got an ASP page that does some back-end processing. It calls a stored procedure which will return a status value if the process is complete. The whole processing time can last around 10-30 seconds, depending on the amount of input data.
During this period of time, I guess it'd be much better to display a loading image or text than just a blank page. At least in this way the user knows the her request is being processed and just need to wait for it to finish.
I am not sure how we could implement this with classic ASP. Any ideas?
Thanks very much.
EDIT:
Well I guess there's something I didnt explain very clearly earlier. The actual scenario here is:
I have got 2 asp pages, A.asp and B.asp. User clicks a button on A.asp and it will submit form to B.asp, and B.asp is the processing page that will call the back-end stored procedure. When the B.asp is done with processing, it will redirect user to another page.
So the problem I have is, whenever user clicks the button of A.asp and gets to B.asp, there's just a blank page, even though I already had HTML code (displaying a loading image) placed at the very beginning of B.asp (the asp code that connects the database is way below). I don't know why it's not displaying image when it's loaded.