战剑网络,网站建设,系统开发,程序设计

搜索Top
清除浏览器历史记录代码


搜索关键字:
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.

[ 打印本页 ] [ 收藏本页 ]

[上一篇]:已经到顶了
[下一篇]:JSP入门讲座
 ·flash和asp分页的一点心得
 ·关于Global.asa文件的深入研究与session变量失效提示的具体方法
 ·用.NetFramework设计检查EMail程序
 ·Ajax技术概述与现状应用
 ·Ajax控件和类库简析

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
搜索Top

关于我们 - 联系我们 - 广告业务 - 友情链接 - 网站制作 - 留言板 - 会员注册
All Right Zjm.Net.Cn (zjm Enterprise v3.0)
联系电话:0576-8603312 地址:浙江省台州市经济开发区
技术支持:点击这里给我发消息280610248 业务: 点击这里给我发消息40520767 客服: 点击这里给我发消息441758646
E-mail:zjm@zjm.net.cn 备案证书号:浙ICP备06030047号