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

HttpResponseWrapper.ApplyAppPathModifier Method

Adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public override string ApplyAppPathModifier(
	string virtualPath


Type: System.String

The virtual path of a resource.

Return Value

Type: System.String
The virtual path with the session ID inserted. If Cookieless session state is not used, returns the original virtualpath value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
© 2015 Microsoft