---
title: createSessionId
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/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