Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web
HttpResponse Class
Methods
 ApplyAppPathModifier Method
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
HttpResponse.ApplyAppPathModifier Method

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.

[Visual Basic]
Public Function ApplyAppPathModifier( _
   ByVal virtualPath As String _
) As String
[C#]
public string ApplyAppPathModifier(
 string virtualPath
);
[C++]
public: String* ApplyAppPathModifier(
 String* virtualPath
);
[JScript]
public function ApplyAppPathModifier(
   virtualPath : String
) : String;

Parameters

virtualPath
The virtual path to a resource.

Return Value

The virtualPath with the session ID inserted.

Remarks

ApplyAppPathModifier is used only with cookieless sessions to construct absolute HREFs.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker