# Unterschied zwischen dem JavaScript Session-Objekt und dem Session-Cookie?

**URL:** https://meta.discourse.org/t/distinction-between-the-javascript-session-object-and-the-session-cookie/181139
**Category:** Development
**Created:** [25. Februar 2021 um 16:59 UTC](https://meta.discourse.org/t/distinction-between-the-javascript-session-object-and-the-session-cookie/181139 "2021-02-25T16:59:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mbaker341997](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mbaker341997](https://meta.discourse.org/u/mbaker341997)
#### Post date: [25. Februar 2021 um 16:59 UTC](https://meta.discourse.org/t/distinction-between-the-javascript-session-object-and-the-session-cookie/181139/1 "2021-02-25T16:59:40Z")

</div>

Laut [(Deprecated) List of cookies used by Discourse](https://meta.discourse.org/t/list-of-cookies-used-by-discourse/83690) nutzt Discourse einen Session-Cookie zur Speicherung von Sitzungsdaten, aber ich sehe auch dieses [Sitzungsobjekt im Frontend](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/models/session.js), in dem es heißt:

> Es wird nirgendwo gespeichert oder serialisiert.

Bedeutet das, dass die Daten in diesem Sitzungsobjekt nicht im Cookie gespeichert sind und den Speicherbeschränkungen des Browsers unterliegen?
