Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Storage (sessionStorage and localStorage) in private browsing mode (incognito)

BACKGROUND

The HTML5 Web Storage feature in modern browsers is accessed through Javascript commands such as:

sessionStorage.setItem("username", "John");
localStorage.setItem("username", "John")

The site Can I use indicates that browser support is near 90%. However, in the "Known Issues" tab, Can I use says:

In private browsing mode, Safari, iOS Safari and the Android browsers do not support setting localStorage.

MY QUESTION

In private browsing mode, do Safari, iOS Safari and the Android browsers still support sessionStorage?

like image 779
Justin Cloud Avatar asked Sep 25 '14 15:09

Justin Cloud


1 Answers

Chrome will support localStorage and sessionStorage in private window.

like image 80
Srikrushna Avatar answered Oct 06 '22 02:10

Srikrushna