120 days of 1200 hours of pass-through for junior students. NET (13) about the difference between Response.Redirect and Server.Execute

Source: Internet
Author: User

Server.Transfer ("path") internal redirection request, is the internal takeover of the server, the browser does not realize that this takeover occurs, the browser address bar will not change. and Response.Redirect ("") This is going through a notification browser redirection, after the browser found, sends a request to the server to re-access the new URL address and return to the client's process, which is an HTTP 302 request.

The internal takeover, which is then redirected to the page, can be accessed to request,cookies and so on, and these source pages receive the parameters as if these parameters were passed to him. Response.Redirect is not, because it is for the browser to access, and can be directed to the external site. Server.Transfer ("") cannot be redirected to an external Web site.

120 days of 1200 hours of pass-through for junior students. NET (13) about the difference between Response.Redirect and Server.Execute

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.