---
title: "createSessionId"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/session/src/lib/session.ts#L197"
---

# createSessionId

## Summary

Create a new cryptographically secure session ID.

## Signature

```ts
function createSessionId(): string

```

## Returns

A new session ID