# InMemoryIdentityStore

Learn how to keep the visitor session in memory.

An in-memory implementation of [`IdentityStore`](/reference/sdk/php/api/storage/identity-store) that keeps the client ID and user token in memory. It is handy for tests and one-off requests where you do not want to read or write cookies.

> **Looking for something specific?**
>
> Use the search bar at the top of the page or press `/` to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

- [Constructor](/reference/sdk/php/api/storage/in-memory-identity-store/construct): Learn how to initialize an in-memory identity store.
