---
title: sessionID
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gksession/sessionid
---

# sessionID

A string used to filter the list of peers who are allowed to see your session.

## Declaration

```swift
var sessionID: String! { get }
```

## Discussion

Discussion The session ID is used by sessions configured as servers to advertise itself to other peers and by sessions configured as clients to search for compatible servers. The session ID should be the short name of an approved Bonjour service type.

## See Also

### Information about the Session

- [displayName](gamekit/gksession/displayname.md)
- [peerID](gamekit/gksession/peerid.md)
- [sessionMode](gamekit/gksession/sessionmode.md)
