Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft