473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Response Time

When request is initiated at the client system, the Web Server may take tens of second to couple of minutes
Mean while user gets annoyed and cliks Refresh Button several times
"Is it Possible to know Response time of the web server before it starts work on Request.?
So that the user can be notified about the Progress.
Nov 18 '05 #1
2 1270
Hi
The best solution according to me is just Flush some
content to the browser. You can use Response.Flust.

Let me give an classic example on this. For example if
your page is having some listing of records which is of
thousands or mroe than that.. flush for every 100 records
to the browser. For this the Buffer to be On. I think
in .Net the Buffer is ON by default.

If you are not clear please go through the Response.Buffer
example.

thanks
srinivas moorthy
-----Original Message-----
When request is initiated at the client system, the Web Server may take tens of second to couple of minutes,Mean while user gets annoyed and cliks Refresh Button several times."Is it Possible to know Response time of the web server before it starts work on Request.?"So that the user can be notified about the Progress.
.

Nov 18 '05 #2

"Srinivas Moorthy" <sr**************@hotmail.com> wrote in message
news:05****************************@phx.gbl...
Hi
The best solution according to me is just Flush some
content to the browser. You can use Response.Flust.

Let me give an classic example on this. For example if
your page is having some listing of records which is of
thousands or mroe than that.. flush for every 100 records
to the browser. For this the Buffer to be On. I think
in .Net the Buffer is ON by default.

I don't think this will help much, as asp.net will only generate html
in one of the later stages of processing (render phase). If a lot
of work is done in "load" or "prerender", then a buffer setting
will have no effect.
If you are not clear please go through the Response.Buffer
example.

thanks
srinivas moorthy
-----Original Message-----
When request is initiated at the client system, the Web

Server may take tens of second to couple of minutes,
Mean while user gets annoyed and cliks Refresh Button

several times.
"Is it Possible to know Response time of the web server

before it starts work on Request.?"
So that the user can be notified about the Progress.
.


There is no general way to get an expected response time
for a page. However, you as the developer of that page will
know at least that it will take a long time, and maybe you can even
make a guess how long this particular call will take (*you*
know what processing needs to be done).

What you could try do is a two step approach:
The link the user click on doesn't lead to the process page
but to an intermediate page. This page makes a guess how long
the real processing will take and tells that to the user (along with
some "I'm busy" graphic). Then that page will automatically
redirect to the real process page.
Hans Kestng
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jon Spivey | last post by:
Experimenting with response.flush() but can't seem to get it to work. This code <% response.write "<p>started</p>" response.flush() for i = 1 to 10000000 i = i +1 next response.write...
9
by: mallyonline | last post by:
I last posted to this group about 6 months ago and was very pleased by the excellent response I got and the great help offered to me. I am back this time with another request for your expert help...
5
by: Luiz Vianna | last post by:
Guys, I need to send some info to my client while I'm processing some stuff. The flow will be something like : -process -response -process -response .... I imagine to use response.flush...
2
by: David Union | last post by:
Hi. I'm posting this here because I don't know exactly what the best group is. This is for an aspx page with Visual Basic as the code-behind page. I am doing very simple code... in the middle...
3
by: Bidyadhar Patra | last post by:
Hai, Could any body help me out in finding out the Client Perceived Response Time for an ASP.Net application. CPRT is measuring the time it takes for a page to load from browser click to...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
5
by: twiggy182 | last post by:
Hi, I really need you help because I'm not very familliar with ASP and I could not find any solution to my problem. To put you in situation, I have a CGI to which I send a file name, and that...
14
by: ahlongxp | last post by:
Hi, everyone, I'm implementing a simple client/server protocol. Now I've got a situation: client will send server command,header paires and optionally body. server checks headers and decides...
0
by: Chris Ashley | last post by:
I'm writing files directly to Response.OutputStream... setting the headers like so: HttpContext.Current.Response.Buffer = false; HttpContext.Current.Response.Clear();...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.