# CookieSessionRef

**Kind**: type alias | **Module**: [Cookies](https://docs.interop.io/desktop/reference/javascript/cookies/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/cookies/cookiesessionref/index.html

Specifies a session from which to read or to which to write when copying cookies.
This can be the default session (if you specify `"default"` as a value), or the session for a named partition (e.g., `{ partition: "my-partition" }`).
Partition names are wrapped in objects to prevent a potential collision between the `"default"` literal, which signifies the default session, and a partition named `"default"`.

## Members

- **`"default"`**
- **`{ partition: string }`**
