Science, asked by jackjk4193, 1 year ago

What is Response object? How is it related to ASP?s Response object?

Answers

Answered by Palaktiwary56
0
The ASP Response object is used to send output to the user from the server. Its collections, properties, and methods are described below:

Collections

CollectionDescriptionCookiesSets a cookie value. If the cookie does not exist, it will be created, and take the value that is specified

Properties

PropertyDescriptionBufferSpecifies whether to buffer the page output or notCacheControlSets whether a proxy server can cache the output generated by ASP or notCharsetAppends the name of a character-set to the content-type header in the Response objectContentTypeSets the HTTP content type for the Response objectExpiresSets how long (in minutes) a page will be cached on a browser before it expiresExpiresAbsoluteSets a date and time when a page cached on a browser will expireIsClientConnectedIndicates if the client has disconnected from the serverPicsAppends a value to the PICS label response headerStatusSpecifies the value of the status line returned by the server

Methods

MethodDescriptionAddHeaderAdds a new HTTP header and a value to the HTTP responseAppendToLogAdds a string to the end of the server log entryBinaryWriteWrites data directly to the output without any character conversionClearClears any buffered HTML outputEndStops processing a script, and returns the current resultFlushSends buffered HTML output immediatelyRedirectRedirects the user to a different URLWriteWrites a specified string to the output

Palaktiwary56: please mark as brainliest
Similar questions