site_node::conn_url (public, deprecated)

 site_node::conn_url

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Use this in place of ns_conn url when referencing host_nodes. This proc returns the appropriate ns_conn url value, depending on if host_node_map is used for current connection, or hostname's domain.

See Also:

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc site_node::conn_url
    set ns_conn_url [ns_conn url]
    set subsite_get_url [subsite::get_url]
    set joined_url [ad_file join $subsite_get_url $ns_conn_url]
    # join drops ending slash for some cases. Add back if appropriate.
    if { [string index $ns_conn_url end] eq "/" && [string index $joined_url end] ne "/" } {
        append joined_url "/"
    }
    return $joined_url
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: