+ 5
Can local.Storage be accesed across many devices?
(javascript) Lets say I were to make a website that included this snippet of code: local.Storage.setItem("myNumber", 5) And on another page of the same website: local.Storage.getItem("myNumber") But what if I viewed the first page on a phone, and the second page on a computer or a different phone. Would I still be able to get myNumber?
2 Respostas
+ 6
Thanks Calviղ
+ 2
No, you cant. Local storage store data on local device only. You need send your data to remote server using AJAX, in order other devices can access the same data.