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
public string ApplyAppPathModifier(
 string virtualPath
public: String* ApplyAppPathModifier(
 String* virtualPath
public function ApplyAppPathModifier(
   virtualPath : String
) : String;


The virtual path to a resource.

Return Value

The virtualPath with the session ID inserted.


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


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

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace

© 2015 Microsoft