# Store token in "session storage" instead of "local storage"

**URL:** https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848
**Category:** General
**Created:** [27 January 2021 09:11 UTC](https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848 "2021-01-27T09:11:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [27 January 2021 12:09 UTC](https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848/2 "2021-01-27T12:09:51Z")

</div>

If you are using node-reds persistent context, you can define is as being stored in memory. If you have need for some things to be stored and recovered and some things to ‘go away’ you can define two locations, one in storage and one in memory. Here is a write up about understanding it: [A guide to understanding 'Persistent Context'](https://discourse.nodered.org/t/a-guide-to-understanding-persistent-context/4115)

---

_[View the full topic](https://discourse.nodered.org/t/store-token-in-session-storage-instead-of-local-storage/39848)._
