Returns the Internet address for connecting to a dynamic WEBDEV site (in Session mode) found on the same server.
// Generate a link that starts the site named "MySite2"
HTM_HTMLControl.Value = "<A HREF=" + ...
SiteAddress(MySite2) + ">Click me to go to Site 2</A>"
<Result> = SiteAddress([<Site name>])
<Result>: ANSI character string
Address of the site. .
<Site name>: Optional character string
Name of the dynamic WEBDEV site (in Session mode) whose address is requested. This dynamic site and the current site must be installed on the same server.
If this parameter is equal to an empty string (""), the name of the site corresponds to the current site.
- This address can be used, for example, in an email containing a link to the site.
- This address is also useful when HTML code containing specific actions is generated by the program.