This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
.NET Framework Class Library
HttpContext..::.RewritePath Method
Updated: November 2007
Assigns an internal rewrite path and allows for the URL that is requested to differ from the internal path to the resource. RewritePath is used in cookieless session state.

Overload List
|
| Name | Description |
|---|
.gif) | RewritePath(String) |
Rewrites the URL using the given path.
|
.gif) | RewritePath(String, Boolean) |
Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.
|
.gif) | RewritePath(String, String, String) |
Rewrites the URL using the given path, path information, and a Boolean value that specifies whether the virtual path for server resources is modified.
|
.gif) | RewritePath(String, String, String, Boolean) |
Rewrites the URL using the given virtual path, path information, query string information, and a Boolean value that specifies whether the client file path is set to the rewrite path.
|
Top

See Also