473,378 Members | 1,393 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,378 software developers and data experts.

When is Response.Flush honoured?

Hi,

I would like to know the pre-requisite conditions for Response.Flush to be
honoured. Can you override the default semantics of this in any way?

Thanks.
Shardul
Nov 19 '05 #1
3 1038
The only condition condition I can think of is to use the buffered mode...
What is the problem ?

Patrice
--

"Shardul Kulkarni" <ks********@yahoo.co.uk> a écrit dans le message de
news:11*************@corp.supernews.com...
Hi,

I would like to know the pre-requisite conditions for Response.Flush to be
honoured. Can you override the default semantics of this in any way?

Thanks.
Shardul

Nov 19 '05 #2
Note in particular that it doesn't necessarily cause the browser to render
something. In particular if you flush an opening HTML tag without the
corresponding closing tag, it's likely the browser will not render this
part. You may have also to enclose stand alone text in span tag (don't
remember). Finally remember that ASP.NET constructs the control tree and
then renders it. Flush may not be called at the appropriate time.

Just guesses. Describe us the exact situation rather than being general...

Patrice

--

"Patrice" <no****@nowhere.com> a écrit dans le message de
news:OM**************@TK2MSFTNGP09.phx.gbl...
The only condition condition I can think of is to use the buffered mode...
What is the problem ?

Patrice
--

"Shardul Kulkarni" <ks********@yahoo.co.uk> a écrit dans le message de
news:11*************@corp.supernews.com...
Hi,

I would like to know the pre-requisite conditions for Response.Flush to be honoured. Can you override the default semantics of this in any way?

Thanks.
Shardul


Nov 19 '05 #3
all flush does is send to the browser whats pending the response buffer. if
you are not at render in the page processing cycle, none of the controls
output will be in the buffer. also the broswer has no obligation to render
anything until its see </html> or connection close (most broswrs try to
though to seem faster)

-- bruce (sqlwork.com)
"Shardul Kulkarni" <ks********@yahoo.co.uk> wrote in message
news:11*************@corp.supernews.com...
| Hi,
|
| I would like to know the pre-requisite conditions for Response.Flush to be
| honoured. Can you override the default semantics of this in any way?
|
| Thanks.
| Shardul
|
|
Nov 19 '05 #4

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

Similar topics

9
by: Dominic Godin | last post by:
Hi, I have an asp page that does a lot of processing and reports it's finished by printing the word "Success". For example: <% SomeFunction(SomeVar) SomeFunction(SomeVar1) ...
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...
7
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
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...
5
by: Homa | last post by:
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong
7
by: W. Jordan | last post by:
Hello, I am using Response.WriteFile (filename) to write a file that on the server to my web client. I discover that the while a client request a big file, for example, a 14m-bytes one, the...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
7
by: eventuranza | last post by:
For my application, there users can upload and download files to the a webserver. Straightforward enough. However, when they upload a PDF file then try to download it, the file seems to be...
5
by: djhexx | last post by:
Hello. I have an ASP.NET application (C#) that I allow users to upload files. Files get stored in a SQL2005 database. The file data is stored in a varbinary(max) column. When the user uploads...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.