How large is HTML5 session storage?
Asked Answered
C

2

56

Although the size of localStorage has been addressed in detail and there is a online test for it, I was wondering what the maximum size of sessionStorage is for the common browsers?

Cutoff answered 5/4, 2013 at 18:27 Comment(1)
As mentioned in some deleted answers comments web.archive.org/web/20160216064847/http://www.html5rocks.com/en/… is good resourceRowan
C
76

According to this site, Firefox’s and Safari’s storage limit is 5MB per domain, Internet Explorer’s limit is 10 MB per domain.

However, according to this site which tests your web browser local storage capabilities, on my machine:

Browser        LocalStorage         SessionStorage
-------        ------------         --------------
Chrome              5M                   5M
Firefox             5M                Unlimited
IE11                5M                   5M

Also, note the handy chart at the bottom of the page.

Chabazite answered 5/4, 2013 at 18:29 Comment(4)
Thanks Robert. What about Chrome? Same as Safari? That link is rather dated at 2009. Have the browsers updated this since then?Cutoff
According to this, sessionStorage is limited only by available system memory in Chrome. However, see my answer update.Chabazite
Here explains that about Chrome too...Bette
RIP IE: you should remove itIndeed
W
-6

The amount able to be stored varries from browser to browser with IE being able to store up to a couple MB. It is also good to note that there is a vulnerabilty that allows an unlimited amount of data to be stored.

Wentz answered 5/4, 2013 at 18:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.