Adds a session ID to the virtual path if the session is using System.Web.Configuration.SessionStateSection.Cookieless session state and returns the combined path. If System.Web.Configuration.SessionStateSection.Cookieless session state is not used, HttpResponse.ApplyAppPathModifier(string) returns the original virtual path.
The virtualPath with the session ID inserted.
HttpResponse.ApplyAppPathModifier(string) is used only with cookieless sessions to construct absolute HREFs.