HttpResponseWrapper.IsRequestBeingRedirected Property


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)

public override bool IsRequestBeingRedirected { get; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 3.5
Return to top