title: Difference between Session Storage, Local Storage and Cookies in AngularJS
body: <p>I would like to dig down into Angular, and for that i would like to know the difference between Session Storage, Local Storage and Cookies.</p>
  
  <p>Problem Questions ---</p>
  
  <p>1) $windows.sessionStorage can be used to store user session but the problem with it is, when you open something in a new tab  it again ask the user to login.</p>
  
  <p>2) Will Local Storage would be a solution to problem question 1 ? and if so, does that mean i need local storage and session storage both in my app or local storage will act as session storage as well.</p>
  
  <p>3) I am also working on Remember me on my login form - is it safe to store password and email of the user in the local storage for this, if not what is best way to do remember me in angular</p>
  
  <p>4) Cookies are great, but does corporate companies allow them on there browser?  </p>
  
  <p>Hoping to find decent answers </p>
  
  <p>Thanks </p>