Most people use response. Redirect to direct users to another page, while others seem to prefer the mysterious server. Transfer. What is the difference between response. Redirect and server. transfer?
Response. Redirect simply sends a message to
Frontend page Jump mode:1. Jump with FrameA window. frames. framename. Location. href = URL; // framename indicates a frame, and URL indicates the jump path.
B. Open a new window, window. Open (URL, 'framename ');2. jump without frameA window.
Response. Redirect (), Server. Execute and Server. Transfer, response. redirect1. Response. Redirect ():
The Response. Redirect method causes the browser to link to a specified URL.
When the Response. Redirect () method is called, it creates a
Permanent page removal (301 redirects ) is a very important "auto-steering" technology. One of the most feasible ways to redirect URLs. When a user or a search engine makes a browse request to the Web server, one of the status codes in the header
Redirection is a way to ensure that users always receive the pages they need. Redirection is the process of configuring a WEB server to emit a redirect message to a client (for example, HTTP 302) to instruct the client to resubmit the request for a
A common Web server and application serverThe most widely used free Web server on UNIX and Linux platforms is the Web server, NCSA and Apache server, while the Windows platform nt/2000/2003 uses IIS.Some of the features that you should consider when
The path in the server. Transfer () Address Bar does not change, but the background process changes.
In addition, it is recommended that the server. transfer be the local directory or the subdirectory under the local directory. Do not go to the
Transfer is rarely used in the past. Now it is used today. Let's take a closer look.
1. response. Redirect
The response. Redirect method causes the browser to link to a specified URL. When the response. Redirect () method is called, it creates a
Web site construction, often encounter the need for Web page redirection situation:
1. Site adjustment, such as changing the Web page directory structure, the page was moved to a new address.
2. Web page extension changes, such as application needs
The website replaces the domain name, uses the old domain name 301 to refer to the new domain name.
Setting the URL permanently from IIS can be, it looks easy, and it takes a while to discover that the parameters are not on.
From the Microsoft
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.