Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 9th, 2008, 06:15 PM
Charlotte
Guest
 
Posts: n/a
Default text wait or hourglass


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

  #2  
Old October 9th, 2008, 09:15 PM
Tim Slattery
Guest
 
Posts: n/a
Default 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
  #3  
Old October 10th, 2008, 01:45 PM
Tim Slattery
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles