Ok i'm using webclasses to build an IIS app.

I need to obtain the following:
When a user clicks a link, a query is fired on a database that takes quite some time to run.
I want to show a "please wait" page during the processing, and upon completion of the query, load the actual page, replacing this 'wait' page.
I don't seem to see how this can be done using the Response object (within a response, all Response.Write or myTemplate.WriteTemplate only performs appends instead of replacement).

How do I do this? I know javascript may be a solution but I prefer handling this on the server I it's possible (specially to have the 'wait' page stay until the query finishes).

thanks in advance