试题详情
单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application must redirect the original URL to a different ASPX page.  You need to ensure that the users cannot view the original URL after the page is executed. You also need to ensure that each page execution requires only one request from the client browser. What should you do?()

A、Use the Server.Transfer method to transfer execution to the correct ASPX page.

B、Use the Response.Redirect method to transfer execution to the correct ASPX page.

C、Use the HttpContext.Current.RewritePath method to transfer execution to the correct ASPX page.

D、Add the Location: new URL value to the Response.Headers collection. Call the Response.End() statement. Send the header to the client computer to transfer execution to the correct ASPX page.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题