---
title: "hasOpenSession"
slug: "api/session/operations/hasopensession"
sidebar:
  order: 140
---

<a id="ref-15b03eedd701"></a>
<a id="ref-106ef0ea7a39"></a>
<a id="ref-b84e20f8f17f"></a>

## Synopsis

```text
boolean hasOpenSession();
```

The `hasOpenSession` operation can be called any time to test whether the Online Configurator has an open session. Naturally, the client should not have an open session when it calls this operation, albeit doing so would cause no harm other than the waste of computing resources.
