sec_generate_session_id_cookieWhat it does:
Sets the ad_session_id cookie based on global variables.Defined in: /web/philip/packages/acs-core/security-procs.tcl
Source code:
global ad_conn ad_set_cookie -replace t -max_age [sec_session_timeout] "ad_session_id" [ns_urlencode "$ad_conn(session_id),$ad_conn(user_id),$ad_conn(token),[ns_time]"]