Comment

Comment by vladgur

I would agree that Session storage is an ideal way for handling your session token if it wasnt for the fact that its only visible in a current window/tab.

I do want my users to be able to keep their session across tabs and not be forced to sign in again and as far as I know the only way to do this is to use cookie storage

Does anyone have a strategy use one of Web Storage APIs AND keep your session across tabs/windows?

parent vladgur 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton