text wait or hourglass

C

Charlotte

Hi

Can someone please help me with the following:

I have an ASP-page where a query runs, it confiscates a couple of seconds (5
to 10 sec), before the result is sent to the client's browser.

While the query is doing his job on the server, the visitor can't see
anything, only a blank page with the typical 'indicator' in the status of IE
(at the bottom).

I would like to have the words: 'Patience, the result is being composed' or
an hourglass must be shown, so that the visitor can see that the process is
taking place.

Can anyone give me an example?

Thanks in advance
Chalotte
 
T

Tim Slattery

Charlotte said:
Hi

Can someone please help me with the following:

I have an ASP-page where a query runs, it confiscates a couple of seconds (5
to 10 sec), before the result is sent to the client's browser.

While the query is doing his job on the server, the visitor can't see
anything, only a blank page with the typical 'indicator' in the status of IE
(at the bottom).

I would like to have the words: 'Patience, the result is being composed' or
an hourglass must be shown, so that the visitor can see that the process is
taking place.

Put the line: Response.Buffer = False at the top of your ASP page:

Response.Buffer=False

<!DOCTYPE etc, etc>
<html>
<head>....</head>
<body>
<h1>header</h1>
other text
<%
processing
%>
Done!


The user will see the header and "other text". That will show while
the processing is being done, then the "Done!" will display.
 
T

Tim Slattery

Put the line: Response.Buffer = False at the top of your ASP page:

Response.Buffer=False

Ahh...I should have remembered that this line is server-side script,
therefore should be between <% and %>

<% Response.Buffer = False %>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top