if you handle session manually in your application than you remove all session variable from your application and put the following java script in your page logout page
<SCRIPT type="text/javascript">
window.history.forward();
function noBack() { window.history.forward(); }
</SCRIPT>
</HEAD>
<BODY onload="noBack();"
onpageshow="if (event.persisted) noBack();">
# 1 楼答案
# 2 楼答案
您需要在聚焦页面(即登录页面)中设置响应标题。 确保登录时使用以下代码。jsp页面
编码:
/* 注: 将此代码置于这些代码之上 */
但我不知道使用javascript/jquery是否可以实现同样的功能,“啊……我不这么认为!!!”