106 lines
4.4 KiB
HTML
106 lines
4.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
|
|
<TITLE>Buffer</TITLE>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!--
|
|
TempString = navigator.appVersion
|
|
if (navigator.appName == "Microsoft Internet Explorer"){
|
|
// Check to see if browser is Microsoft
|
|
if (TempString.indexOf ("4.") >= 0){
|
|
// Check to see if it is IE 4
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else {
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
}
|
|
}
|
|
else if (navigator.appName == "Netscape") {
|
|
// Check to see if browser is Netscape
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
//-->
|
|
</script>
|
|
<SCRIPT LANGUAGE="VBScript">
|
|
<!--
|
|
Sub Window_OnLoad()
|
|
Dim frmContents
|
|
On Error Resume Next
|
|
If Not Parent Is Nothing Then
|
|
Set frmContents = Parent.Contents
|
|
If Not frmContents Is Nothing Then
|
|
frmContents.Window.TOCSynch_Click
|
|
End If
|
|
End If
|
|
End Sub
|
|
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
|
|
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
|
|
<META NAME="MS.LOCALE" CONTENT="EN-US">
|
|
<META NAME="MS-IT-LOC" Content="Internet Information Services">
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
|
|
<H4><A NAME="_buffer"></A><SUP></SUP>Buffer</H4>
|
|
|
|
<P>The <B>Buffer</B> property indicates whether to buffer page output. When page output is buffered, the server does not send a response to the client until all of the server scripts on the current page have been processed, or until the <B>Flush</B> or <B>End</B> method has been called.</P>
|
|
|
|
<P>The <B>Buffer</B> property cannot be set after the server has sent output to the client. For this reason, the call to <B>Response.Buffer</B> should be the first line of the .asp file.</P>
|
|
|
|
<H6>Syntax</H6>
|
|
|
|
<P><B>Response.Buffer </B>[<B>=</B> <I>flag</I>]</P>
|
|
|
|
<P> </P>
|
|
|
|
<H6>Parameters</H6>
|
|
|
|
<DL>
|
|
<DT><I>flag</I></DT>
|
|
|
|
<DD>Specifies whether or not to buffer page output. It can be one of the following values.
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=25%><B>Value</B></TD>
|
|
<TD class=blue width=75%><B>Description</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=25%>FALSE</TD>
|
|
<TD width=75%>No buffering. The server sends output to the client as it is processed. This is the default value for versions of IIS up to and including 4.0. For version 5.0 and later, the default value is True.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=25%>TRUE</TD>
|
|
<TD width=75%>The server does not send output to the client until all of the ASP scripts on the current page have been processed, or until the <B>Flush</B> or <B>End</B> method has been called.</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
</DD>
|
|
</DL>
|
|
|
|
<H6>Remarks</H6>
|
|
|
|
<P>If the current .asp file has buffering set to TRUE and does not call the <A HREF="/iishelp/iis/htm/asp/vbob74tk.htm"><B>Flush</B></A> method, the server will honor Keep-Alive requests made by the client. This saves time because the server does not have to create a new connection for each client request.</P>
|
|
|
|
<P>However, buffering prevents any of the response from being displayed to the client until the server has finished all script processing for the current page. For long scripts, this may cause a perceptible delay.</P>
|
|
|
|
<P>You can use the <A HREF="/iishelp/iis/htm/asp/apro719q.htm"><B>ASPBufferingOn</B></A><B> </B>property<B> </B>in the<B> </B>metabase to set the default value for script buffering. For more information about using the metabase, see <A HREF="/iishelp/iis/htm/asp/aogu2wab.htm">Using IIS Admin Objects</A>.</P>
|
|
|
|
<H6>Applies To</H6>
|
|
|
|
<P><A HREF="/iishelp/iis/htm/asp/vbob5sj8.htm"><B>Response</B> Object</A></P>
|
|
|
|
<H6>See Also</H6>
|
|
|
|
<P><A HREF="/iishelp/iis/htm/asp/vbob74tk.htm"><B>Flush</B></A>, <A HREF="/iishelp/iis/htm/asp/vbob2sis.htm"><B>End</B></A></P>
|
|
<hr class="iis" size="1">
|
|
<p align="center"><em><a href="../../../common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
|
|
</BODY>
|
|
</HTML>
|