ASP-Response-Objekt
Das ASP Response-Objekt wird verwendet, um Ergebnisse an den Benutzer vom Server zu senden.
Response object
The ASP Response object is used to send the output result from the server to the user. Its collection, properties, and methods are as follows:
Collection
Collection |
Description |
Cookies |
Set the value of the cookie. If it does not exist, create a cookie and set the specified value. |
Property
Property |
Description |
Buffer |
Specify whether the output of the page should be cached. |
CacheControl |
Set whether the proxy server can cache the output generated 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 for the page before it becomes invalid (in minutes). |
ExpiresAbsolute |
Set the date and time when the page cache on the browser becomes invalid. |
IsClientConnected |
Indicate whether the client has disconnected from the server. |
Pics |
Append values to the PICS flag in the response header. |
Status |
Specify the value of the status line returned by the server. |
Method
Method |
Description |
AddHeader |
Add new HTTP headers and values to the HTTP response. |
AppendToLog |
Append a string to the end of the server log entry (server log entry). |
BinaryWrite |
Write data directly to the output without any character conversion. |
Clear |
Löschen Sie das zwischengespeicherte HTML-Ausgabe. |
End |
Beenden Sie die Verarbeitung des Skripts und geben Sie das aktuelle Ergebnis zurück. |
Flush |
Senden Sie sofort das zwischengespeicherte HTML-Ausgabe. |
Redirect |
Leiten Sie den Benutzer zu einer anderen URL weiter. |
Write |
Schreiben Sie eine bestimmte Zeichenfolge an die Ausgabe. |