util_get_current_url (public, deprecated)

 util_get_current_url

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

Deprecated. Invoking this procedure generates a warning.

Returns a URL for re-issuing the current request, with query variables. If a form submission is present, that is converted into query vars as well. DEPRECATED: ad_return_url is a complete replacement for this API that also allows better control over the behavior.

Returns:
URL for the current page
Author:
Lars Pind <lars@pinds.com>
Created:
February 11, 2003
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) ad_log_deprecated ad_log_deprecated (public) export_vars export_vars (public) util_get_current_url util_get_current_url util_get_current_url->ad_conn util_get_current_url->ad_log_deprecated util_get_current_url->export_vars

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc util_get_current_url
    set url [ad_conn url]

    set query [ns_getform]
    if { $query ne "" } {
        append url ?[export_vars -entire_form]
    }

    return $url
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

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