Which of the following is a common method for connecting to other Web sites and Web pages?
A.
Response.LCID
B.
Response.AppendToLog
C.
Response.flush
D.
Response.Redirect
Explanation:
Redirect is a method of the Response object. It is used to navigate through the server script. This
method sends a redirect message to the browser, causing it to attempt to connect to a different
URL. The Response.Redirect method accepts the Uniform Resource Locator (URL) of the page, to
which a user has to be redirected, as a parameter.
Syntax:
Response.Redirect URL
where, URL is the Uniform Resource Locator (URL) of the page to which a user has to be redirected.
Answer A is incorrect. It is a property that specifies how dates, times, and currencies are formatted.
Answer C is incorrect. The flush method sends buffered output immediately.
Answer B is incorrect. This method adds a string to the end of the Web server log entry for the request.