I tried to implement cross domain local storage by copying the code from the below link,
http://www.nczonline.net/blog/2010/09/07/learning-from-xauth-cross-domain-localstorage/
But it is returning 'null'.
I did the following
- From the page in A.com - stored the value for local storage
- In the application running in localhost created server.htm as per the code provided in the link
- created cross_domain_storage.js also as per the link
- created index.html in localhost application and tried to access the key written at Step 1
But the value returned is 'null'
What is wrong with my code ?