HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
清除浏览器历史记录代码_ASP教程_编程技术
2013-12-23 09:43:46
[小 大]
已经帮助:人解决问题
Code to clear browser history
/* This logout.asp is used to clear the back pages of the browser,
/* if the user has logged out.
/* if there are no specific vbscripting to be done then you can
/* use this file as logout.htm
<%
/* Clear all your sessions over here and do other
/* desired things
%>
<SCRIPT LANGUAGE=javascript>
{
var Backlen=history.length;
history.go(-Backlen);
top.window.location.href ="../esadmin/administer.asp";
}
</SCRIPT>
/* here the "../esadmin/administer.asp" page is the
/* desired page to be displayed after the user logs out
To use the code above, click and drag your mouse over the code to highlight it. Then right click on the
highlighted code and click "Copy." Now you may paste it into your code editor.
EwwHTML5中文学习网 - HTML5先行者学习网EwwHTML5中文学习网 - HTML5先行者学习网
(责任编辑:)