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
public string CurrentExecutionFilePath {get;}
public: __property String* get_CurrentExecutionFilePath();
public function get CurrentExecutionFilePath() : String;

Property Value

The virtual path of the current request.


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.


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

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace

© 2015 Microsoft