doc_return (public)

 doc_return [ args... ]

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

A wrapper to be used instead of ns_return. It calls db_release_unused_handles prior to calling ns_return. This should be used instead of ns_return at the bottom of every non-templated user-viewable page.

Partial Call Graph (max 5 caller/called nodes):
%3 adp_parse_ad_conn_file adp_parse_ad_conn_file (private) doc_return doc_return adp_parse_ad_conn_file->doc_return packages/acs-templating/www/admin/test/chain-frac-0.tcl packages/acs-templating/ www/admin/test/chain-frac-0.tcl packages/acs-templating/www/admin/test/chain-frac-0.tcl->doc_return packages/bookmarks/www/top-frame.tcl packages/bookmarks/ www/top-frame.tcl packages/bookmarks/www/top-frame.tcl->doc_return packages/bookmarks/www/tree-dynamic.tcl packages/bookmarks/ www/tree-dynamic.tcl packages/bookmarks/www/tree-dynamic.tcl->doc_return packages/bookmarks/www/tree-frame.tcl packages/bookmarks/ www/tree-frame.tcl packages/bookmarks/www/tree-frame.tcl->doc_return ad_http_cache_control ad_http_cache_control (private) doc_return->ad_http_cache_control

Testcases:
No testcase defined.
Source code:
    # AOLserver/NaviServer releases handles automatically since ages
    #db_release_unused_handles
    ad_http_cache_control
    ns_return {*}$args
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: