wwWebUtils.ResolveServerUrl

This method returns a fully qualified absolute server Url which includes the protocol, server, port in addition to the server relative Url.

Works like Control.ResolveUrl including support for ~ syntax but returns an absolute URL.

public static string ResolveServerUrl( string serverUrl,
	bool forceHttps );

Parameters

serverUrl
forceHttps
if true forces the url to use https


See also:

Class wwWebUtils


  Last Updated: 7/7/2008 | © West Wind Technologies, 2008