多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题