Connecting Tech Pros Worldwide Forums | Help | Site Map

text wait or hourglass

Charlotte
Guest
 
Posts: n/a
#1: Oct 9 '08

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


Tim Slattery
Guest
 
Posts: n/a
#2: Oct 9 '08

re: text wait or hourglass


"Charlotte" <charlotte.deleeuw@SPAMtelenet.bewrote:
Quote:
>
>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.

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
Tim Slattery
Guest
 
Posts: n/a
#3: Oct 10 '08

re: text wait or hourglass


Tim Slattery <Slattery_T@bls.govwrote:

Quote:
>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 %>

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
Closed Thread