ad_return_if_another_copy_is_running

EveAndersson.com : API Browser : ad_return_if_another_copy_is_running

ad_return_if_another_copy_is_running

ad_return_if_another_copy_is_running [ max_simultaneous_copies ] \
    [ call_adp_break_p ]
Defined in packages/acs-core/defs-procs.tcl

Returns a page to the user about how this server is busy if another copy of the same script is running. Then terminates execution of the thread. Useful for expensive pages that do sequential searches through Oracle tables, etc. You don't want to tie up all of your Oracle handles and deny service to everyone else. The call_adp_break_p argument is essential if you are calling this from an ADP page and want to avoid the performance hit of continuing to parse and run.

Parameters:
max_simultaneous_copies (defaults to "1")
call_adp_break_p (defaults to "0")
[ show source ]

Show another procedure:

eve@eveandersson.com