Reputation:
I have planned to create a blogger for quiz about php,javascript,jQuery and etc , here I am using localstorage for storing data, so I can communicate with two or more pages without server. But when I answer the first page the second page will automatically change the mark like facebook (If any friends give like without refresh get notified)
I think in asp.net (SignalR)
Like than have any possible to used in pure javascript.
Upvotes: 0
Views: 165
Reputation: 3484
If you're trying to communicate between two pages within the same browser, you can utilize the storage event to notify other browser windows on the same site of changes to localStorage.
If you want to communicate between different computers, you'll need some sort server to facilitate that communication.
Upvotes: 2