I tried localStorage in HTML for my project. When I save some data using localStorage in one browser and try to read it in another browser, it fails.
How can I save data that is common across all browsers, like Flex is doing?
And where these data are stored in Windows 7?
The localStorage read-only property of the window interface allows you to access a Storage object for the Document 's origin; the stored data is saved across browser sessions.
Private Browsing / Incognito modesMost modern browsers support a privacy option called 'Incognito', 'Private Browsing' or something similar that doesn't store data like history and cookies.
HTML web storage provides two objects for storing data on the client: window.localStorage - stores data with no expiration date. window.sessionStorage - stores data for one session (data is lost when the browser tab is closed)
This is not possible.
Every browser stores it in its own location (this is the reason it is not possible). The localStorage
is not an OS service, it is part of HTML5 specification, which is implemented by each browser separately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With