WebApplication.URL
From Xojo Documentation
Read-Only Property (As String )
This property is only available for Web applications. |
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.