Tarantool CE/EE Documentation portal logo
Support
Updated at October 21, 2026   10:46 AM

box.session.id()

id()

Return the unique identifier (ID) for the current session.

Returns

the session identifier; 0 or -1 if there is no session

Return type

number