# Session.id

- **Module:** Session
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Session.swift#L9
- **Page:** https://libtmux.org/en/swift/latest/reference/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`.
