ds_trace_filter (private)

 ds_trace_filter why [ args... ]

Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl

Adds developer-support information about the end of sessions.

Parameters:
why (required)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) ds_add ds_add (public) ds_collection_enabled_p ds_collection_enabled_p (public) ds_enabled_p ds_enabled_p (public) ds_trace_filter ds_trace_filter ds_trace_filter->ad_conn ds_trace_filter->ds_add ds_trace_filter->ds_collection_enabled_p ds_trace_filter->ds_enabled_p

Testcases:
No testcase defined.
Source code:
    if { [ds_enabled_p] && [ds_collection_enabled_p] } {
        ds_add conn end [ns_time] endclicks [clock clicks -microseconds]

        set args [ns_set array [ad_conn outputheaders]]
        if {[llength $args] > 0} {
            ds_add oheaders {*}$args
        }

        foreach param { browser_id validated session_id user_id } {
            global ad_sec_$param
            if { [info exists ad_sec_$param] } {
                ds_add conn $param [set "ad_sec_$param"]
            }
        }
    }

    return "filter_ok"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: