Tools Tags
directory
Tools Tags
ASP Response
The ASP Response object is used to send output results from the server to the user.
Try it - Example
Write text using ASP
This example demonstrates how to use ASP to write text.
Using HTML tags to format text in ASP
This example demonstrates how to use ASP to combine text and HTML tags.
Redirect the user to a different URL
This example demonstrates how to redirect the user to a different URL.
Display random links
This example demonstrates how to create a random link.
Control buffer
This example demonstrates how to control the buffer.
Clear the buffer
This example demonstrates how to clear the buffer.
Terminate the script during processing and return the result
This example demonstrates how to terminate the script during processing.
Set the cache time in the browser before the page expires
This example demonstrates how to specify the cache time in the browser before the page expires.
Set the expiration date or time for the page cache in the browser
This example demonstrates how to specify the expiration date or time for the page cache in the browser.
Check if the user is still connected to the server
This example demonstrates how to check if the user has been disconnected from the server.
Set content type
This example demonstrates how to specify the content type.
Set the character set name
This example demonstrates how to specify the name of the character set.
Response Object
The ASP Response object is used to send the output results from the server to the user. Its collections, properties and methods are described as follows:
Collection
| Collection | Description |
|---|---|
| Cookies | Set the cookie value. If the cookie does not exist, creates the cookie and sets the specified value. |
Attribute
| Attribute | Description |
|---|---|
| Buffer | Specifies whether to buffer the page Output. |
| CacheControl | Set whether the proxy server can cache the output produced by ASP. |
| Charset | Append the name of the character set to the content-type header in the Response object. |
| ContentType | Set the HTTP content type of the Response object. |
| Expires | Set the browser cache time (minutes) before the page expires. |
| ExpiresAbsolute | Set the date and time when the page cache on the browser expires. |
| IsClientConnected | Indicates whether the client has disconnected from the server. |
| Pics | Append a value to the PICS tag of the response header. |
| Status | Specifies the value of the status line returned by the server. |
Method
| Method | Description |
|---|---|
| AddHeader | Adds new HTTP headers and values to the HTTP response. |
| AppendToLog | Appends a string to the end of the server log entry. |
| BinaryWrite | Write data directly to the output without any character conversion. |
| Clear | Clear buffered HTML output. |
| End | Stop processing the script and return the current results. |
| Flush | Send buffered HTML output immediately. |
| Redirect | Redirect the user to a different URL. |
| Write | Write the specified string to the output. |
Hot AI Tools
Undress images for free
Online AI tool for removing clothes from photos.
AI-powered app for creating realistic nude photos
AI image generator for creative art from text prompts.
AI powered investment research for smarter decisions
Hot Article
Hot Topics
20536
7
13640
4
Popular tool
Easy-to-use and free code editor
Chinese version, very easy to use
Powerful PHP integrated development environment
Visual web development tools
God-level code editing software (SublimeText3)












![Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]](https://img.php.cn/upload/course/000/000/035/5d27fb58823dc974.jpg)