WebApplication.URL

From Xojo Documentation

Read-Only Property (As String )


StringValue = aWebApplication.URL

New in 2011r2

Supported for all project types and targets.

The SCRIPT_NAME for the web app. For example, for a web app running on http://www.example.com/cgi-bin/example.cgi, this returns "/cgi-bin/example.cgi". For standalone web apps this always returns the empty string.

Notes

To get the domain name of the web app, use WebSession.Header and check the Host value.