Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

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