# Session Storage

*noun*

say it: **“SESH-un STOR-ij”** **/ˈsɛʃən ˈstɔːrɪdʒ/**

A place in the browser to save small pieces of text for one tab while it stays open; closing the tab clears it.

## What is **Session Storage** in JavaScript?

**Session Storage** — Browser key-value storage kept for one tab's browsing session.

```javascript
sessionStorage.setItem("step", "2");
```

## In a sentence

- “I kept the half-filled order in **session storage**: a refresh didn't wipe it, but closing the tab did.”
- “The quiz saves the current question number in **session storage**, so reloading the page keeps your place.”

Level: Freelancer · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/session-storage
