localStorage一般是什么用啊
cookie没有放在localstorage里面的话不会删
<script type="text/javascript">localStorage.lastname="Smith";document.write(localStorage.lastname);</script>