Export (0) Print
Expand All

HttpRuntimeSection.UseFullyQualifiedRedirectUrl Property

Gets or sets a value that indicates whether the client-side redirects are fully qualified.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public bool UseFullyQualifiedRedirectUrl { get; set; }
/** @property */
public boolean get_UseFullyQualifiedRedirectUrl ()

/** @property */
public void set_UseFullyQualifiedRedirectUrl (boolean value)

public function get UseFullyQualifiedRedirectUrl () : boolean

public function set UseFullyQualifiedRedirectUrl (value : boolean)

Not applicable.

Property Value

true if client-side redirects are fully qualified; otherwise, false. The default value is false.

The UseFullyQualifiedRedirectUrl property indicates whether client-side redirects are fully qualified (in the form http://server/path) or whether relative redirects are instead sent to the client.

NoteNote:

Some browsers might have problems loading pages in cookieless sessions when this value is false.

The following example shows how to use the UseFullyQualifiedRedirectUrl property.

// Get the UseFullyQualifiedRedirectUrl property value.
Response.Write("UseFullyQualifiedRedirectUrl: " +
  configSection.UseFullyQualifiedRedirectUrl + "<br>");

// Set the UseFullyQualifiedRedirectUrl property value set to true.
configSection.UseFullyQualifiedRedirectUrl = true;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft