> For the complete documentation index, see [llms.txt](https://crunch.gitbook.io/developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crunch.gitbook.io/developer-docs/getting-started/reset-the-session.md).

# Reset the session

1. A session is the time a user spends on your product, doing all the activities on it. You can define the session timeout in the config based on your requirements.
2. A use case where you may need to reset a session for a user is when they log in for the first time or if a device is being used by multiple users and you want to create a new session for a new user.

```javascript
crunchit.resetSession()
```
