|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
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. 返回类别: 教程 上一教程: 开发者面临的.Net挑战(二) 下一教程: 用XSL.ASP编辑XML文档(1) 您可以阅读与"清除浏览器历史记录代码"相关的教程: · 利用ADODB.STREAM使用浏览器下载服务器文件 · TXT.WORD文档下载在本地,而不是在浏览器中打开 · 作一个可以直接和浏览器进行交互的组件 · 一个ASP版的图片浏览器 · 给浏览器的滚动条加上颜色 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |