> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/admin-panel/account-settings/how-to-configure-session-policy.md).

# ​How to Configure Session Policy

This document explains session policy options, including idle timeout, concurrent session limits, login attempt limits, lockout duration, and IP allow/deny lists.

Session policy settings control how long sessions stay active and how users can sign in. To make the policy stricter, tighten the limits below.

1. **Idle session timeout** (`session-hours`). Decrease the value to shorten the idle time before the session expires.
2. **One session per user**. Enable it to prevent multiple sessions in the same browser.
3. **One session per user per IP**. Enable it to limit the user to one session per IP address.
4. **Max login attempts before lockout** (`max-login-attempts`). Decrease the value to lock users sooner after failed attempts.
5. **Lockout time** (`max-attempts-timeout-minutes`). Increase the value to keep users locked out longer.
6. **Allowed IP addresses**. Limit access to specific IP addresses.
7. **Blocked IP addresses**. Deny access from specific IP addresses.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.docstudio.com/admin-panel/account-settings/how-to-configure-session-policy.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
