HttpRuntimeSection.UseFullyQualifiedRedirectUrl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the client-side redirects are fully qualified.
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
Property Value
true
if client-side redirects are fully qualified; otherwise, false
. The default value is false
.
- Attributes
Examples
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;
' Get the UseFullyQualifiedRedirectUrl property value.
Response.Write("UseFullyQualifiedRedirectUrl: " & _
configSection.UseFullyQualifiedRedirectUrl & "<br>")
' Set the UseFullyQualifiedRedirectUrl property value set to true.
configSection.UseFullyQualifiedRedirectUrl = True
Remarks
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.
Note
Some browsers might have problems loading pages in cookieless sessions when this value is false
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기