网页浏览记录代码

来源:百度知道 编辑:UC知道 时间:2024/06/09 02:15:46
我做了一个导航网站 想做一个 浏览记录 的模块 想记住用户曾经点过的网站然后列表显示在这里 想www.114la.com这样的 我也复制了他的代码过来自己弄 但是不行 没有记录 但是在他的网站就可以 为什么? 谁能帮帮忙 给个代码和调用方式 谢谢!

用这个代码

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.

有什么不会的我可以帮你