Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CurrentExecutionFilePath Property

HttpRequest.CurrentExecutionFilePath Property

Gets the virtual path of the current request.

[Visual Basic]
Public ReadOnly Property CurrentExecutionFilePath As String
[C#]
public string CurrentExecutionFilePath {get;}
[C++]
public: __property String* get_CurrentExecutionFilePath();
[JScript]
public function get CurrentExecutionFilePath() : String;

Property Value

The virtual path of the current request.

Remarks

CurrentExecutionFilePath returns the correct file path to the currently executing page in redirect scenarios such as Execute and Transfer When the client is redirected to another page, FilePath returns the path to the original page; CurrentExecutionFilePath returns the path to the child page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace

Show:
© 2015 Microsoft