---
name: "TSHttpSsnIdGet"
section: "3ts"
platform: "linux"
package: "trafficserver-dev"
version: "9.2.5+ds-0+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/TSHttpSsnIdGet"
---

# TSHttpSsnIdGet(3ts)

returns the unique identifier for client session

## NAME

TSHttpSsnIdGet - returns the unique identifier for client session

## SYNOPSIS

```
#include <ts/ts.h>
```

- **int64\_t TSHttpSsnIdGet(*TSHttpSsn* ssnp)**

  ## DESCRIPTION

*TSHttpSsnIdGet()* returns the unique identifier for this client session.

## RETURN VALUES

Returns a **int64\_t** as the unique ID

## SEE ALSO

**[TSAPI(3ts)](/TSAPI/3ts.md)**

## COPYRIGHT

2026, dev@trafficserver.apache.org
