网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > ASP技巧
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.改善ASP性能和外观的技巧集锦(下.
.使用ASP开发连接数据库时的性能问.
.ASP模仿asp.net的DataGrid.
.asp取动态表单中数据并写入xml文.
.如何使用 Microsoft Access 和 A.
.asp中vbscript访问xml文件.
.用ASP语言实现对SQL SERVER 数据.
.asp组件编写准备工作.
.不用Golobal.asa和session实现在.
.如何用asp把sqlserver数据转换为.
.SQL Server如何解决加密问题?.
.如何使用ASP产生象安装向导的主页.
.ASP对FoxPro自由表(DBF文件)的操.
.分栏显示记录集的表格演示,并实.
.用ASP编写计数器的优化方法.
.怎样传送更多的数据在表单中.
.在ASP应用程序中限制重复提交同一.
.关于Cookie跨域操作遇到的问题及.
.如何使用ASP制作模似动态生长的表.
.一个不太让人讨厌的自动弹出窗口.

清除浏览器历史记录代码

发表日期:2001-2-7


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.

上一篇:ASP中巧用Response属性 人气:12439
下一篇:怎样读取一个文本文件的内容? 人气:12158
浏览全部的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐