NCS Logo - Click for home page Northstar Developer Center
Platforms
All Platforms
.NET Framework (1.x - 4.x)
Active Server Pages
ASP.NET
C#
SQL Server
VB.NET
Visual Basic

Keywords
.NET Data Types
.NET E-mail
.NET Events
.NET Functions
.NET Object Programming
.NET System.Configuration
.NET System.Diagnostics
.NET System.IO
.NET System.Net
.NET System.Net.Sockets
Active Data Objects
ASP Architecture
ASP Black Belt
ASP Built-in Functions
ASP Built-in Objects
ASP Debugging
ASP Performance
ASP Security
ASP Syntax
ASP.NET Authentication
ASP.NET Controls
ASP.NET Data Access
ASP.NET Features
ASP.NET Master Pages
ASP.NET Page Events
ASP.NET Security
ASP.NET ViewState
Atom
Certifications
COM, DCOM, COM+
Data Access
E-Mail
Errors
Exporting Data
HTML Tips
IIS
Object-Oriented Programming
RSS
SQL
Uncategorized ASP Tips
VB API Programming
VB Forms
VB Syntax
XML

Book Support
Visual Basic 6 Bible
ASP Bible
ASP Weekend Crash Course
ASP.NET At Work
Creating Web Services

Buffering in Windows Server

Written by Eric Smith, Northstar Computer Systems LLC

One change from IIS 4.0 to IIS 5.0 is how buffering is done. Buffering refers to whether content from the ASP page is sent before or after the page is complete. Under IIS 4.0, buffering is turned off by default, but in IIS 5.0, buffering is turned on. This means that if you are debugging your page and print out some values before you get an error, they won't show up if the page is being buffered. To turn on/off buffering on a per page basis, you can use this code:
Response.Buffer = True  (or False)
If you want to change it for your web server, follow these steps:

1. Bring up the properties window for your web site in the Internet Service Manager.
2. Go into the Home Directory tab and click the Configuration button near the bottom of the window.
3. Go to the App Options tab and clear (or mark) the Enable Buffering button. Click OK to exit and save your changes.

Keywords: [ ASP Architecture | ASP Built-in Objects ]

Publication Date: 7/1/2000, Last Update: 2/13/2010