whos_online::seconds_since_last_request (public)
whos_online::seconds_since_last_request user_id
Defined in packages/acs-tcl/tcl/whos-online-procs.tcl
Returns the number of seconds since the user with given id requested a page. Returns the empty string if the user is not currently online.
- Parameters:
- user_id (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [nsv_exists last_hit $user_id] } { return [expr {[ns_time] - [nsv_get last_hit $user_id]}] } else { return {} }XQL Not present: Generic, PostgreSQL, Oracle