HttpURL (NotesSession - JavaScript)

Read-only. The Domino® URL of a server when HTTP protocols are in effect.

Defined in

NotesSession

Syntax

getHttpURL() : string

Usage

If HTTP protocols are not available, this property returns an empty string.

See resolve in Session for additional information and examples.

Examples

This computed field returns the Domino® URL of the server if HTTP protocols are in effect.
var url = session.getHttpURL();
if (url.length == 0) {
	url = "Not HTTP"
}
return url