What is the difference between Session Storage and Local Storage?
Both store string key-value pairs per origin and are readable by any script on that origin. Local Storage persists until explicitly cleared and is shared across all tabs of the origin. Session Storage is isolated to a single tab and is wiped when that tab closes, giving it a shorter, narrower lifetime.