Only 5mb in IE8 DOM Local Storage?
-
Friday, May 29, 2009 12:02 AMAccording to http://msdn.microsoft.com/en-us/library/cc197062(VS.85).aspx, DOM Local Storage “…allows Web applications to store nearly 10 MB of user data”.
I clear my entire history, made sure that I have nothing stored to window.localStorage, and have the following JS function called on page load:
function LoadLocalStorageData() { var storage = window.localStorage; alert(storage.remainingSpace); }
The JS alert shows "5000000". What happened to the other 5mb?- Edited by Charles_S Friday, May 29, 2009 12:03 AM
Answers
-
Friday, January 29, 2010 2:00 AMModerator
As in 5mb for local storage and 5mb for sessions storage is 10mb.- Marked As Answer by Andy SterlandMicrosoft Employee, Moderator Friday, January 29, 2010 2:00 AM
All Replies
-
Friday, December 11, 2009 10:33 PMModeratorsessionStorage?window.sessionStorage.remainingSpace
-
Friday, January 29, 2010 2:00 AMModerator
As in 5mb for local storage and 5mb for sessions storage is 10mb.- Marked As Answer by Andy SterlandMicrosoft Employee, Moderator Friday, January 29, 2010 2:00 AM

