title: is localstorage also user specific by default?
body: <p>I am storing some data in the local storage using</p>
  
  <pre><code>localstorage.setItem("key","value")
  </code></pre>
  
  <p>I understand that localstorage is browser specific, now will this value remain  even after i login as different user (sharepoint) in the same browser?</p>
  
  <p>as far as i know <strong>localStorage is persistent until user clears it</strong></p>
  
  <p>and i read in <a href="https://stackoverflow.com/questions/9948284/how-persistent-is-localstorage">this SO question</a> that</p>
  
  <blockquote>
    <p>Duration</p>
    
    <p>In DOM Storage it is not possible to specify an expiration period for
    any of your data. All expiration rules are left up to the user. In the
    case of Mozilla, most of those rules are inherited from the
    Cookie-related expiration rules. Because of this you can probably
    expect most of your DOM Storage data to last at least for a meaningful
    amount of time.</p>
  </blockquote>
  
  <p>So does this mean that local storage is only browser specific? ie even if login as different user in sharepoint, the localstorage values will still remain if i use the same browser? (given that i dont clear it in log out/log in actions in sharepoint)</p>