Welcome to Photo.net: A Community of Photographers

ad_verify_and_get_user_id

one of the defined (but not documented) Tcl procedures in this installation of the ACS
Usage:
ad_verify_and_get_user_id   { google_ok "0" }
Source code:

    global ad_sec_user_id
    global ad_sec_user_agent

    # User ID for Google robot 
    if { $google_ok && [string match Mediapartners-Google* $ad_sec_user_agent] } {
	set ip [peeraddr]
    }

    ad_validate_security_info
    return $ad_sec_user_id


Photography