gptkbp:instanceOf
|
gptkb:REST_API
|
gptkbp:accessibleBy
|
gptkb:JavaScript
|
gptkbp:alternativeTo
|
cookies
sessionStorage
|
gptkbp:APIProperty
|
localStorage
|
gptkbp:dataExpiration
|
none
|
gptkbp:distinctFrom
|
cookies (not sent with every HTTP request)
sessionStorage (data persists after browser close)
|
gptkbp:features
|
data accessible by any script on the same origin
|
https://www.w3.org/2000/01/rdf-schema#label
|
local storage API
|
gptkbp:introducedIn
|
gptkb:HTML5
|
gptkbp:method
|
clear()
getItem()
key()
removeItem()
setItem()
|
gptkbp:notAccessibleFrom
|
server-side code
|
gptkbp:partOf
|
gptkb:Web_Storage_API
|
gptkbp:persistent
|
true
|
gptkbp:removes
|
digital media
browser settings
|
gptkbp:serializationRequired
|
true (for objects, use JSON.stringify)
|
gptkbp:specifies
|
gptkb:WHATWG_HTML_Living_Standard
|
gptkbp:storage
|
key-value pairs
|
gptkbp:storageLimit
|
about 5MB per origin
|
gptkbp:supportedBy
|
gptkb:opera
gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
|
gptkbp:type
|
string only
|
gptkbp:usedFor
|
storing data in web browsers
|
gptkbp:bfsParent
|
gptkb:Qt_Quick_Local_Storage_2
gptkb:Qt_Quick_Local_Storage_3
gptkb:Qt_Quick_Local_Storage_4
|
gptkbp:bfsLayer
|
6
|