Thanks Peter for your info and experience with the storage issue.
Indeed it's still a little "in the mist" and not so well documented.
However, it seems you found a way arround. If I Understood you good,
you have used some dummy data or created a dummy DB (emtpy) with the
size of 50mb.

db = openDatabase(shortName, version, displayName, maxSize); // where
maxSize = 50mb

But, did you then in the end used the Sqlite database (web sql db) for
your local savings (sql crud) or did this dummy db solved your problem
for using local/sessionStorage (setItem/getItem) because as you said
"..localStorage is implemented with a sqlite database" and this solved
your problems.

I have solved my problem of the QUOTA_EXCEEDED error on the Ipad.
I forgot to apply the storage patch for a few.
I just had to Ctrl+F trough my project and search for any "Storage"
that didn't had my patch applied.

These two:

1) sessionStorage.temp = folderPath;
2) sessionStorage.mode='grid';

Had to be changed:

setSessionkey("temp",folderPath);
setSessionkey("mode",'grid');


--------------
function setSessionkey(key, val) {
        sessionStorage.removeItem(key);
        sessionStorage.setItem(key, val);
}
function setLocalkey(key, val) {
        localStorage.removeItem(key);
        localStorage.setItem(key, val);
}

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to