This documentation is archived and is not being maintained.
HttpResponse::ApplyAppPathModifier Method
Visual Studio 2010
Adds a session ID to the virtual path if the session is using Cookieless session state and returns the combined path. If Cookieless session state is not used, ApplyAppPathModifier returns the original virtual path.
Assembly: System.Web (in System.Web.dll)
Parameters
- virtualPath
- Type: System::String
The virtual path to a resource.
The following example declares a string variable named urlConverted, and sets it to the result of an ApplyAppPathModifier method call. The code then passes the variable's value to a HyperLink control's NavigateUrl property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: