禁止浏览器记住密码

是用于设定禁止浏览器从本地机的缓存中调阅页面内容,设定后一旦离开网页就无法从Cache中再调出 

<meta http-equiv="Pragma" content="no-cache"/>

清除缓存(再访问这个网站要重新下载!) 
<meta http-equiv="Cache-Control" content="no-cache"/>

设定网页的到期时间 
<meta http-equiv="Expires" content="0">    

<input type="password" autocomplete="new-password">

猜你喜欢

转载自blog.csdn.net/guohao326/article/details/87914259