# Javascript: TXTextControl.connectionID Property

> Returns the unique connection ID of this session.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 32.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.connectionID Property
- **135 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/connectionid-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/connectionid-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/connectionid-property/llms-full.txt

---

### Description

Returns the unique connection ID of this session.

### Syntax

```javascript
<string> TXTextControl.connectionID
```

### Examples

The following example demonstrates `TXTextControl.connectionID` in a practical document-editing workflow. It returns the unique connection ID of this session.

```javascript
const connectionID = tXTextControl.connectionID;
console.log("connection id:", connectionID);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.ComponentRenderMode Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/componentrendermode-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.ContextMenuLocation Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/contextmenulocation-enumeration/llms-full.txt)
