Navigation :
Bookmark :
-
Del.icio.us
-
Digg
-
Furl
Newsvine
-
Reddit
-
StumbleUpon
-
Technorati
-
Squidoo
-
Windows Live
-
Yahoo MyWeb
-
Ask
-
Google
Ads :
Response Object
The response object is used to send output from the client to the server .
Collections
| Collection | description |
| Cookies | a collection which contains the values of all the cookies sent to the client |
Properties
| Property | Description |
| Buffer | On by default (True) . This specifies whether the output is held in a buffer until all scripts in an ASP page are processed. This must be set at the very start of an ASP page before all HTML tags. |
| CacheControl | set this to Public to allow proxy servers to cache the page , Private prevents this from happening |
| Charset | Sets the name of the character set (like "ISO-LATIN-7") to the HTTP content type header |
| ContentType | specifies the content type as a standard mime-type . e.g image/gif |
| Expires minutes | specifies the length of time a page is valid for in minutes |
| ExpiresAbsolute | specifies the date and time that a page expires |
| IsClientConnected | this checks whether the client is still connected to the server |
| PICS | creates a PICS header and adds this to the HTTP header. |
| Status | specifies the status sent to the client in the HTTP headers . e.g 404 Not Found |
Methods
| Method | description |
| AddHeader ("name","content") |
creates a custom HTTP header using the values supplied |
| AppendToLog ("string") |
adds a string to the end of a servers log entry |
| BinaryWrite (SafeArray) |
writes the content to the current HTTP output stream with no character conversion |
| Clear( ) | clears the buffered output when Response.Buffer is True . Use this to abort a page . |
| End( ) | prevents ASP from processing the scripts on the page and returns the result . |
| Flush( ) | sends all buffered content in the buffer to the client when Response.Buffer is true . |
| Redirect("url") | used to redirect a user to the "url" |
| Write("string") | used to write the "string" to the user . |