HttpResponseBase.IsRequestBeingRedirected Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether the client is being redirected to a new location.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

abstract IsRequestBeingRedirected : bool with get
override IsRequestBeingRedirected : bool with get

Property Value

Type: System.Boolean

true if the value of the location response header differs from the current location; otherwise, false.

Exception Condition


.NET Framework
Available since 3.5
Return to top