| |||||
Request.PhysicalPath PropertySystem.Web Namespace HttpRequest Class Gets the physical file system path corresponding to the requested URL. [ VB ] Public ReadOnly Property PhysicalPath As String [ C# ] public string PhysicalPath {get;} [ C++ ] public: __property String* get_PhysicalPath ( ); [ JScript ] public function get PhysicalPath ( ) : String; Property ValueThe file system path of the current request. ExampleThe following example shows the simplest way to retrieve and display the PhysicalPath for the current URL request. <%= Request.PhysicalPath %> And which, for this page, returns the following: D:\domains\authors.aspalliance.com\aspxtreme\sys\web\HttpRequestClassPhysicalPath.aspx See AlsoRequest.ApplicationPath Request.FilePath Request.Path Request.PathInfo Request.PhysicalApplicationPath Request.RawUrl Request.Url HttpRequest Members |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme