Programming Languages ASP.NET Objective
May 21, 2013

What are the Response Object methods?

Choose the correct answer:
A) Response.Write and Response.Redirect
B) Response.ContentType and Response.Buffer
C) Response.Cookies
D) both a and b
Detailed Explanation

Response object is used to send output to the user from the server.The various methods are:

Response.Write - Sends information directly to a browser
Response.Redirect - Directs a user to a URL other than the requested URL
Response.ContentType - Controls the type of content sent
Response.Cookies - Sets cookie values
Response.Buffer - To Buffer information

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback