HttpResponseWrapper.ApplyAppPathModifier Method (String)


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
Available since 3.5
Return to top