Httpresponse. Redirect Method Introduction

Source: Internet
Author: User
Httpresponse. Redirect Method Introduction
The httpresponse class implements two overloaded versions of the Redirect method. The first overload method has only one input parameter, which is the URL of the target location. This version is defined as follows: public void redirect (string URL );

The second overload method has two input parameters: the URL of the target location, and a Boolean value indicating whether to stop running the current page. This version is defined as follows: public void redirect (string URL, bool endresponse );

When you use the first overload version, the second overload version is called internally and a Boolean value true is passed to the second input parameter.

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.