---
title: forSession
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgconfigureoption/forsession
---

# forSession

Changes persist for the lifetime of the current login session. After the current session terminates, the displays revert to the last saved permanent configuration.

## Declaration

```swift
static var forSession: CGConfigureOption { get }
```

## See Also

### Type Properties

- [forAppOnly](coregraphics/cgconfigureoption/forapponly.md)
- [permanently](coregraphics/cgconfigureoption/permanently.md)
