asp防止页面频繁刷新,设置间隔
来源:互联网 发布:星际争霸2mac版 编辑:程序博客网 时间:2024/06/11 20:50
<SCRIPT type=text/javascript><!--google_ad_client = "pub-4490194096475053";/* 内容页,300x250,第一屏 */google_ad_slot = "3685991503";google_ad_width = 300;google_ad_height = 250;//--></SCRIPT><SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript></SCRIPT>
<% dim RefreshIntervalTime
RefreshIntervalTime = 3'防止刷新的时间秒数,0表示不防止
If Not IsEmpty(Session("visit")) and isnumeric(Session("visit")) and int(RefreshIntervalTime) > 0 Then
if (timer()-int(Session("visit")))*1000 < RefreshIntervalTime * 1000 then
Response.write ("<meta http-equiv=""refresh"" content="""& RefreshIntervalTime &""" />")
Response.write ("刷新过快,请稍候")
Session("visit") = timer()
Response.end
end if
End If
Session("visit") = timer()
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Asp 防止网页频繁刷新一法 - 51windows.Net</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
</style>
</head>
<body style="background-color:#666666;font-size:36pt;font-family:黑体;color:#FFFFFF;">
页面内容,页面内容
</body>
</html>
http://www.corange.cn/archives/2008/03/641.html
- asp防止页面频繁刷新,设置间隔
- session技术:防止用户频繁刷新页面
- Asp如何防止网页频繁刷新?
- Asp如何防止网页频繁刷新?
- Asp如何防止网页频繁刷新?
- Asp防止刷新页面函数
- ASP防止网页频繁刷新的方法介绍
- ASP页面防止刷新,防重复插入
- Asp防止网页频繁刷新和强制不缓存的方法
- Asp防止网页频繁刷新和强制不缓存的方法
- asp防止刷新,asp防止刷新函数
- ASP防止页面刷新重新提交数据的方法
- ASP.NET中防止刷新页面造成表单重复提交
- ASP.NET中防止刷新页面造成表单重复提交
- asp.net防止页面刷新或后退引起重复提交
- ASP.NET中防止刷新页面造成表单重复提交
- 防止页面刷新问题
- 防止页面重复刷新
- 漫长的一天
- setfilter条件表达式
- ansys关于接触分析
- VBS病毒的解决办法!
- C#疑惑篇-literal string concatenation
- asp防止页面频繁刷新,设置间隔
- 安装Ros破解版2.9.27(图解)
- 本地、远程图片上传预览
- 控制台下Java 连接 SQL 2005 / SQL 2008 最少代码
- javascript实现删除确认
- Asp截取一个页面源代码函数
- bean taglib 学习
- PHP中str_replace函数的详解
- 统计一个字段中出现 ( 多个指定词) 的出现的次数