天枫庄资源网 Design By www.wosibo.com

如何防止计数器刷新计数?

<html>
<head>
<title>千花飞舞之真实的计数器</title>

</head>
<body>
<%dim tms,counter,countlen
dim images(20)
h1="<p> 千花飞舞计数器</font></p>"
If IsEmpty(Session("hasbeenConnected")) then
set rs=server.createobject("adodb.recordset")
application.lock
rs.open "update aspcount set countss=countss+1","dsn=userdbs",3,3
application.unlock
Session("hasbeenConnected")=True
End If
set rs=server.createobject("adodb.recordset")
rs.open "select * from aspcount","dsn=userdbs",3,3
rs.movefirst
counter=rs(0)
countlen=len(counter)
tms="<h1><font color='#8000ff'>欢迎,您是第</font>"&&counter&&"<font color='#8000ff'>位来访者!</font></h1>"
response.write(tms)
for i=1 to countlen
images(i)="<img src="/UploadFiles/2021-04-02/ && mid(counter,i,1) && ">next
response.write images(1)&&images(2)&&images(3)&&images(4)&&images(5)&&images(6)&&images(7)
rs.Close
%>
</body></html>

 

[1]

标签:
|如何|何防|防止|止计|计数|数器|器刷|刷新|新计|计数|数?|?|

天枫庄资源网 Design By www.wosibo.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
天枫庄资源网 Design By www.wosibo.com

评论“如何防止计数器刷新计数?”

暂无如何防止计数器刷新计数?的评论...