Avoid HTML5 sessionStorage – not supported by Safari in private browsing mode!

Before deciding to use sessionStorage I did due diligence and researched browser support. http://caniuse.com/namevalue-storage shows that all modern browsers support it (less Opera Mini, who cares) As it turns out Safari desktop/mobile versions do not support sessionStorage (or localStorage) when browsing in private mote. Amplify.js is nice enough to do the check for you and amplify.store.sessionStorage will be automatically be set to null.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s