简体   繁体   中英

Do you need client-side script for a server to access local storage?

I want my page to use local storage, for users to store customer names to be retrieved later. I need to reassure users that my site (server) will not access the local storage.

Do I understand this correctly? For the server to access local storage, it has to use a client-side script (eg JavaScript) to get at it. This script would be apparent if the client-side source code was examined (eg using view:source). So the reassurance would be testable. Or can the server access local storage without there being anything visible client-side?

one computer cant access other computer's local storage. Even both computer online sametime. there must be serverside script to transfer data each other.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM