按周和月在asp.net中的访问者计数 [英] Visitor count in asp.net by week and month
本文介绍了按周和月在asp.net中的访问者计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想计算我的asp.net网站的访问者,并且可以通过使用Global.asax来总计它的访问者.但是,我想按上周和上个月的数量统计访客,就像php/joomla中的模板一样.请帮我.谢谢....(^ _ ^)
Hi everyone,
I want to count the visitor of my asp.net website, and i could count it in total by using Global.asax. However, i want to have the visitor count by last week and last month just like the template in php/joomla. Please help me. thanks....(^_^)
推荐答案
那是什么问题?
您要做的就是维护3个独立的计数器,并在吸引到访客的同时更新它们.将它们重置为0只是在不同的时间完成.
So what''s the problem??
All you do is maintain 3 seperate counters and update them all at the same time when you get a visitor. Resetting them to 0 is just done at different times.
这篇关于按周和月在asp.net中的访问者计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文