4-10.asp

来自「打法如果业个问题以同样6他因为有一5认同感亲热其二网通日月潭」· ASP 代码 · 共 14 行

ASP
14 行
字号
<%
   response.buffer=true    '打开缓冲
   dim count
   count=request.cookies("vcount")    '获取用户在HTTP请求中发送的cookie值,并赋给count变量
   if count>"0" then 
       count=count+1
       response.write("欢迎你第" & count & "访问本站。")
     else
       count=1
       response.write("欢迎你首次访问本站!")
   end if
   response.cookies("vcount")=count   '将count的值写入到Cookie中
   response.flush      '立即发送缓冲区中的内容到客户端
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?