Share via


MakePathAbsolute Method

Converts the specified relative URL into an absolute URL.

public string MakePathAbsolute(
   string virtualPath
)

Parameters

  • virtualPath
    The relative URL to be converted.

Remarks

Absolute URLs are different depending on whether the application is configured for cookieless session management or not. This method provides a single way to translate application URLs regardless of the cookie setting.

See Also

Applies to: MobilePage Class