Previous PageNext Page

6.3 Response object

The Response object controls sending output to the browser.
 

Syntax

Response.collection | property | method

Collections

Cookies
 
You can use this collection to set cookie values to send to the client browser.
 

Properties

Buffer
 
Indicates whether to buffer page output.
 
CacheControl
 
Determines if proxy servers are allowed to cache the output generated by ASP.
 
Charset
 
Appends the name of the character set to the content-type header.
 
ContentType
 
Specifies the HTTP content type for the response.
 
Expires
 
Specifies the length of time until the page cached on a browser expires.
 
ExpiresAbsolute
 
Specifies the date and time a page cached on a browser expires.
 
IsClientConnected
 
Indicates if the client is still connected to the server.
 
PICS
 
Adds the value of a PICS label to the pics-label field of the response header.
 
Status
 
The value of the status line returned by the server.
 

Methods

AddHeader
 
Set the HTML header name to value.
 
AppendToLog
 
Adds a string to the end of the Web server log entry for this request.
 
BinaryWrite
 
Writes the given information to the current HTTP output without any character set conversion.
 
Clear
 
Erases any buffered HTML output.
 
End
 
Stops processing the .asp file and returns the current results.
 
Flush
 
Sends any buffered HTML output immediately.
 
Redirect
 
Sends a redirect message to the browser, causing it connect to a different URL.
 
Write
 
Writes a variable to the current HTML output as a string.
 


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page