whos_online::user_requested_page (private)

 whos_online::user_requested_page user_id

Defined in packages/acs-tcl/tcl/whos-online-procs.tcl

Records that the user with given id requested a page on the server

Parameters:
user_id (required)
Author:
Bjoern Kiesbye

Partial Call Graph (max 5 caller/called nodes):
%3 rp_filter rp_filter (private) whos_online::user_requested_page whos_online::user_requested_page rp_filter->whos_online::user_requested_page

Testcases:
No testcase defined.
Source code:
    if { $user_id != 0 } {
        nsv_set last_hit $user_id [ns_time]
        if { ![nsv_exists first_hit $user_id] } {
            nsv_set first_hit $user_id [ns_time]
        }
    } else {
        # TODO: Record the IP address from [ad_conn peeraddr]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: