网页退后过期的实现

网页后退过期的实现加入以下代码即可:META http-equivExpires content0/META http-equivCache-

网页后退过期的实现
加入以下代码即可:

        <META http-equiv="Expires" content="0"/><META http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate"/>  <META http-equiv="Pragma" content="no-cache"/> <%response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-store, no-cache, must-revalidate"); response.setDateHeader("Expires", 0);%>