# Session.id

- **Module:** Session
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Session.swift#L8
- **Page:** https://libtmux.org/reference/swift/session-id/

tmux's own session id, stable for the session's lifetime — `$0`, `$1`. Names are not: a session can be renamed, and two servers can both have a `0`.
