OKyJIucT
9/13/2014 - 11:58 AM

localStorage

localStorage

localStorage.setItem('chat', 'test');
var data = localStorage.getItem('chat');
localStorage.removeItem('chat');

sessionStorage.setItem('chat', 'test');
var data = sessionStorage.getItem('chat');
sessionStorage.removeItem('chat');