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

2023-12-05 0 140

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

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

</head><body><%dim tms,counter,countlendim images(20)h1=\”<p> 千花飞舞计数器</font></p>\”If IsEmpty(Session(\”hasbeenConnected\”)) thenset rs=server.createobject(\”adodb.recordset\”)application.lockrs.open \”update aspcount set countss=countss+1\”,\”dsn=userdbs\”,3,3application.unlockSession(\”hasbeenConnected\”)=TrueEnd Ifset rs=server.createobject(\”adodb.recordset\”)rs.open \”select * from aspcount\”,\”dsn=userdbs\”,3,3rs.movefirstcounter=rs(0)countlen=len(counter)tms=\”<h1><font color=\’#8000ff\’>欢迎,您是第</font>\”&&counter&&\”<font color=\’#8000ff\’>位来访者!</font></h1>\”response.write(tms)for i=1 to countlenimages(i)=\”<img src=\” && mid(counter,i,1) && \”.gif></img>\”nextresponse.write images(1)&&images(2)&&images(3)&&images(4)&&images(5)&&images(6)&&images(7)rs.Close%></body></html>

[1]

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 编程10000问 如何防止计数器刷新计数? https://www.u-9.cn/biancheng/bc10000/96278.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务