HttpContext.RewritePath Method (String, String, String)
.NET Framework 3.0
Rewrites the URL using the given path, path information, and a Boolean value that specifies whether the virtual path for server resources is modified.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public void RewritePath ( String filePath, String pathInfo, String queryString )
public function RewritePath ( filePath : String, pathInfo : String, queryString : String )
Not applicable.
Parameters
- filePath
The internal rewrite path.
- pathInfo
Additional path information for a resource.
- queryString
The request query string.
The RewritePath method redirects a request for a resource to another resource without changing the URL.
The filePath parameter does not include the pathInfo parameter content. For the URL http://www.microsoft.com/virdir/page.html/tail, the filePath parameter is http://www.microsoft.com/virdir/page.html, and the pathInfo parameter is tail.
Community Additions
ADD
Show: