10.20 网站访问量统计(application)

12.20

网站访问量统计

<%
  Integer count=(Integer)application.getAttribute("count");   if(count ==null){     count=1;     application.setAttribute("count", count);
  }
else{     count++;     application.setAttribute("count",count);   } %> 您是当前的第<%=count %>位访客

 

posted @ 2020-10-20 22:42  不会编程的肉蛋葱鸡  阅读(75)  评论(0)    收藏  举报