> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v2.0/admin-manual/how-to-setup-session-invalidator-feature.md).

# How to setup Session Invalidator feature

This feature invalidates all prior sessions once the user logs in from a new device or location, ensuring that only the current session remains active. It also enhances the security as well.<br>

Follow the below steps to set up Session Invalidator feature

1. Login to ZTrust Admin Console.
2. Click on Authentication.

<figure><img src="/files/sI9ZBasuVBdkKXXZrTiV" alt=""><figcaption></figcaption></figure>

3. Click on Duplicate and create a copy of Browser Flow.

<figure><img src="/files/xLvw54rxDqLdceKlVM3G" alt=""><figcaption></figcaption></figure>

4. Provide any name. For example - Session Invalidation and click on OK.

<figure><img src="/files/GmXO9Ir7lWADXmh83oQk" alt=""><figcaption></figcaption></figure>

5. Click on Duplicate.

<figure><img src="/files/BUV0YtXvLBszdF0UgZJh" alt=""><figcaption></figcaption></figure>

6. Delete all except the Session Invalidation Forms.

<figure><img src="/files/De4ohowogdJw3yjX8cSr" alt=""><figcaption></figcaption></figure>

7. Click on Add step.

<figure><img src="/files/XXzXy72QLGAJj59yuhdR" alt=""><figcaption></figcaption></figure>

8. Select Advanced Session Invalidator.
9. Click on Add.
10. For Advanced Session Invalidator, make the requirement as Required.

<figure><img src="/files/IOkrRON1Ot7hnK5oR9Kn" alt=""><figcaption></figcaption></figure>

11. For Advanced Session Invalidator, click on settings.

<figure><img src="/files/NuEkqCFhcVWGswNalElz" alt=""><figcaption></figcaption></figure>

12. Mention the MAX Allowed session per user as 1. Enter the other details as required.

<figure><img src="/files/MQGAyxEodOIB4V2EXRqA" alt=""><figcaption></figcaption></figure>

13. Click on Save.
14. Click on Action, and then Bind flow.

<figure><img src="/files/yVirPqcyC8oBFdFfZrvZ" alt=""><figcaption></figcaption></figure>

15. Select Browser flow from the dropdown menu.

<figure><img src="/files/hASEszmgYiXlyJySPosp" alt=""><figcaption></figcaption></figure>

16. Click on Save.

Session Invalidation feature is configured now.

<br>
