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

Response.Buffer vs. Response.BufferOutput

Joe
Could someone please explain the practical differences between
Response.Buffer and Response.BufferOutput?

TIA,
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
Nov 19 '05 #1
5 9061
There is none.

Response.Buffer relies on Response.BufferOutput

public bool Buffer
{
get
{
return this.BufferOutput;
}
set
{
this.BufferOutput = value;
}
}

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Joe" <jo******@donotspam.yahoo.com> wrote in message
news:F6**********************************@microsof t.com...
Could someone please explain the practical differences between
Response.Buffer and Response.BufferOutput?

TIA,
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation

Nov 19 '05 #2
Joe
Thanks Karl. Then why have two?
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
"Karl Seguin" wrote:
There is none.

Response.Buffer relies on Response.BufferOutput

public bool Buffer
{
get
{
return this.BufferOutput;
}
set
{
this.BufferOutput = value;
}
}

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Joe" <jo******@donotspam.yahoo.com> wrote in message
news:F6**********************************@microsof t.com...
Could someone please explain the practical differences between
Response.Buffer and Response.BufferOutput?

TIA,
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation


Nov 19 '05 #3
The first thing that comes to my mind would be legacy support for ASP
(Buffer) and one made "clearer" (BufferOutput else it could be thought as
being the underlying buffer).
--
Patrice

"Joe" <jo******@donotspam.yahoo.com> a écrit dans le message de
news:3F**********************************@microsof t.com...
Thanks Karl. Then why have two?
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
"Karl Seguin" wrote:
There is none.

Response.Buffer relies on Response.BufferOutput

public bool Buffer
{
get
{
return this.BufferOutput;
}
set
{
this.BufferOutput = value;
}
}

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Joe" <jo******@donotspam.yahoo.com> wrote in message
news:F6**********************************@microsof t.com...
Could someone please explain the practical differences between
Response.Buffer and Response.BufferOutput?

TIA,
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation


Nov 19 '05 #4
Probably :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Patrice" <no****@nowhere.com> wrote in message
news:Ox*************@tk2msftngp13.phx.gbl...
The first thing that comes to my mind would be legacy support for ASP
(Buffer) and one made "clearer" (BufferOutput else it could be thought as
being the underlying buffer).
--
Patrice

"Joe" <jo******@donotspam.yahoo.com> a écrit dans le message de
news:3F**********************************@microsof t.com...
Thanks Karl. Then why have two?
--
Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
"Karl Seguin" wrote:
> There is none.
>
> Response.Buffer relies on Response.BufferOutput
>
> public bool Buffer
> {
> get
> {
> return this.BufferOutput;
> }
> set
> {
> this.BufferOutput = value;
> }
> }
>
>
>
> Karl
>
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
> "Joe" <jo******@donotspam.yahoo.com> wrote in message
> news:F6**********************************@microsof t.com...
> > Could someone please explain the practical differences between
> > Response.Buffer and Response.BufferOutput?
> >
> > TIA,
> > --
> > Joe
> >
> > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
>
>
>


Nov 19 '05 #5
Actually, the Response.Buffer is for backward compatibility for previous versions of .NET, otherwise both are doing the same job.

But, you can use Response.BufferOutput.
Nov 19 '05 #6

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

Similar topics

5
by: PJ | last post by:
When streaming a file attachment to the response stream, should I set Response.BufferOutput = False or Response.Buffer = False or both?
0
by: ProJee | last post by:
Hi, Response.WriteFile (or Response.OutputStream.Write) finishes immediately, not after the file is completely downloaded. It finishes before (!) the user clicks the "Save" or "Open" browser...
2
by: Deepak Kashyap | last post by:
I have placed Response.Buffer = True in the page load event. But when the page gets displayed on the browser, it does not buffer completely and then display, it works as Response.Buffer = False. Is...
3
by: masoud bayan | last post by:
Hi, I am developing an asp.net page that iteratively (inside a loop) calls a web service at the backend and shows the result to user. For this purpose I should update page with the web...
2
by: jhansl | last post by:
Hello, I am trying desperately how to find out if the bytes sent in a Response.BinaryWrite (or bytes written to Response.OutputStream) are ACTUALLY sent to the client. My problem is that I have...
3
by: DC | last post by:
Hi, I am trying to load a pdf file into a memorystream and upload this file to the browser. However, wenn I run the attached code (the ftpStream is a valid stream of the pdf file) I receive an...
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...
1
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
When I use Response.Clear() it doesn't seem to have an effect. The original aspx page code remains. I have tried creating test projects in both VS 2005 & 2008, where I just add a new aspx page and...
4
by: AAaron123 | last post by:
trying to understand the below shown code. After this is run the browser opens a file-save dialog box for saving the file. I wonder how it knows I want the file saved? But more important, the...
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...
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
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.