Is html5 local storage file exist or just in PC memory?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
plusnplus
Forum Newbie
Posts: 20
Joined: Wed Jun 02, 2010 9:58 pm

Is html5 local storage file exist or just in PC memory?

Post by plusnplus »

Hi..,

When i try script for html5 local storage file, is the file really store in client hard disk or just in memory pc ?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Is html5 local storage file exist or just in PC memory?

Post by Eran »

It's stored in the browser temporary files directory (physical files)
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Is html5 local storage file exist or just in PC memory?

Post by onion2k »

It's stored in a file, but I believe the location and type of file is entirely up to the browser developer. It could be a temporary file in the browser cache, or a permanent SQLlite database, or something in the OS temp cache... anything really.

If you're worried about it disappearing when the user closes the browser, don't be. It stays.
Post Reply