Diligent interview question

How does session storage work?