This documentation is archived and is not being maintained.

MakePathAbsolute Method

.NET Framework 1.1

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

Show: