摘要: 统计在线用户的作用不言而喻,就是为了网站管理者可以知道当前用户的多少,然后根据用户数量来观察服务器或者程序的性能,从而可以直观的了解到网站的吸引力或者网站程序的效率现在,我们就介绍一个简单明了的方法来统计在线用户的多少,该方法的特点就是充分的利用了ASP.NET的特点,结合global.asax文件,用Application和Session巧妙的实现在线用户的统计,由于程序中只用到一个Application,所以,程序占用系统资源几乎可以忽略不及,当然,这也是网站管理者最关心的问题之一一用户显示页面的使用首先,我们来看看怎样现实当前网站的访问用户数量,程序代码如下:<%@ Page Langu 阅读全文
posted @ 2010-03-30 22:06 SpringMVC+Hibernate 阅读(411) 评论(0) 推荐(0) 编辑
摘要: C#注册表的读,写,删除,查找using system;using system.collections;using system.configuration;using system.data;using system.web;using system.web.security;using system.web.ui;using system.web.ui.htmlcontrols;using system.web.ui.webcontrols;using system.web.ui.webcontrols.webparts;using microsoft.win32;public part 阅读全文
posted @ 2010-03-30 21:57 SpringMVC+Hibernate 阅读(168) 评论(0) 推荐(0) 编辑
友情链接:厦门事业单位