System.Web.HttpRequest.CurrentExecutionFilePath Property

Gets the virtual path of the current request.

Syntax

public string CurrentExecutionFilePath { get; }

Value

Documentation for this section has not yet been entered.

Remarks

HttpRequest.CurrentExecutionFilePath returns the file path to the currently executing page handler. For redirect scenarios using HttpServerUtility.Execute(string) and HttpServerUtility.Transfer(string, bool) methods this means that the HttpRequest.CurrentExecutionFilePath property returns the path to the page redirected to (child page). However, when the client is redirected to another page, the HttpRequest.FilePath property returns the path to the original page.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0