boylesg Posted April 24, 2014 Share Posted April 24, 2014 Can you explicitly set the domain of a localStorage item? Link to comment Share on other sites More sharing options...
justsomeguy Posted April 24, 2014 Share Posted April 24, 2014 I don't think so. Any items that you set are set for that domain only. Link to comment Share on other sites More sharing options...
davej Posted April 24, 2014 Share Posted April 24, 2014 As I understand it you have to use an iframe to reach the storage, but I don't know if it really works and I need to experiment with this technique. Link to comment Share on other sites More sharing options...
thescientist Posted April 24, 2014 Share Posted April 24, 2014 As I understand it you have to use an iframe to reach the storage, but I don't know if it really works and I need to experiment with this technique. it's just another API that the browser supports. https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage just like the DOM, XHR, etc. Link to comment Share on other sites More sharing options...
davej Posted April 24, 2014 Share Posted April 24, 2014 Oh, I meant for cross-domain access to the local storage. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now