title: session storage is not working properly
body: <p>I have tried for session storage functionality in javascript. I stored a dynamic data in old.html file &amp; tried to retrieve it in new.html webpage. The getItem returns "null" in new.html page.</p>
  
  <p>My old.html file has;</p>
  
  <pre><code>&lt;script&gt;
  var name=document.createTextNode("All the Best");
  sessionStorage.setItem("data",name);&lt;/script&gt;
  </code></pre>
  
  <p>And new.html file has;</p>
  
  <pre><code>&lt;script&gt;
  var newdata=sessionStorage.getItem('data');
  alert(newdata); &lt;/script&gt;
  </code></pre>