This documentation is archived and is not being maintained.

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

Show: