sec_allocate_session (private)
sec_allocate_session
Defined in packages/acs-tcl/tcl/security-procs.tcl
Returns a new session id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { ![info exists ::acs::sec_id_max_value] || ![info exists ::acs::sec_id_current_sequence_id] || $::acs::sec_id_current_sequence_id > $::acs::sec_id_max_value } { # Thread just spawned or we exceeded preallocated count. set ::acs::sec_id_current_sequence_id [db_nextval sec_id_seq] db_release_unused_handles set ::acs::sec_id_max_value [expr {$::acs::sec_id_current_sequence_id + 100}] } set session_id $::acs::sec_id_current_sequence_id incr ::acs::sec_id_current_sequence_id return $session_idGeneric XQL file: packages/acs-tcl/tcl/security-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/security-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/security-procs-oracle.xql