Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
HttpContext Class

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
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

Redirects a request for a resource to a different path than the one that is indicated by the requested URL. RewritePath is used in cookieless session state to strip session IDs from URLs.

  NameDescription
Public methodRewritePath(String)Rewrites the URL using the given path.
Public methodRewritePath(String, Boolean)Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.
Public methodRewritePath(String, String, String)Rewrites the URL by using the given path, path information, and query string information.
Public methodRewritePath(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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker