存session:
sessionStorage.setItem('key', data);
读取session:
var data = sessionStorage.getItem('key');
移除session:
sessionStorage.removeItem('key');
清空session:
sessionStorage.clear();