# Session flag not set

Deprecated

This error was removed in Astro 5.7, when the Sessions feature stopped being experimental.

> Session config was provided without enabling the `experimental.session` flag

## What went wrong?

[Section titled “What went wrong?”](#what-went-wrong)

Thrown when session storage is configured but the `experimental.session` flag is not enabled.

**See Also:**

* [Sessions](/en/guides/sessions/)