Freigeben über


HttpRuntimeSection.UseFullyQualifiedRedirectUrl Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die clientseitigen Umleitungen vollqualifizierte sind.

public:
 property bool UseFullyQualifiedRedirectUrl { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useFullyQualifiedRedirectUrl", DefaultValue=false)]
public bool UseFullyQualifiedRedirectUrl { get; set; }
[<System.Configuration.ConfigurationProperty("useFullyQualifiedRedirectUrl", DefaultValue=false)>]
member this.UseFullyQualifiedRedirectUrl : bool with get, set
Public Property UseFullyQualifiedRedirectUrl As Boolean

Eigenschaftswert

truewenn clientseitige Umleitungen vollqualifizierte sind; andernfalls . false Der Standardwert ist false.

Attribute

Beispiele

Das folgende Beispiel zeigt, wie die UseFullyQualifiedRedirectUrl Eigenschaft verwendet wird.

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

// Set the UseFullyQualifiedRedirectUrl property value set to true.
configSection.UseFullyQualifiedRedirectUrl = true;
' Get the UseFullyQualifiedRedirectUrl property value.
Response.Write("UseFullyQualifiedRedirectUrl: " & _
  configSection.UseFullyQualifiedRedirectUrl & "<br>")

' Set the UseFullyQualifiedRedirectUrl property value set to true.
configSection.UseFullyQualifiedRedirectUrl = True

Hinweise

Die UseFullyQualifiedRedirectUrl Eigenschaft gibt an, ob clientseitige Umleitungen vollqualifizierte (im Formular http://server/path) oder ob relative Umleitungen stattdessen an den Client gesendet werden.

Hinweis

Einige Browser haben möglicherweise Probleme beim Laden von Seiten in cookielosen Sitzungen, wenn dieser Wert ist false.

Gilt für: