Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
first of all thanks to code project and my friends who have helped me .

i want to know how to count . if the person hits on my web site. and how i can create this panel.
please give me some articles or codes . please help me
Posted

Google for Hit counter in ASP.NET, you'll get lot of solutions in web.

EDIT

Is it tough for you to pick links from Google search? Check these(I got these in 1st page of Google search using above search keyword)

Developing A Hit Counter In ASP.NET[^]
Create Hitcounter using ASP.NET and C#.NET[^]
 
Share this answer
 
v2
Comments
faizyab 2009 6-Feb-12 10:18am    
from the google i can see but it will be hard to search right thing in small time . from your help i can learn very soon. please give me right url to learn
Sergey Alexandrovich Kryukov 6-Feb-12 10:21am    
You might waste even more time asking and waiting for answer. All you can do is wait...
--SA
faizyab 2009 6-Feb-12 10:47am    
sir i have learn so much from your help. really thanks to you.
very fast i am getting more skills from you people. but sir sometime it is very hard to understand . that's why i ask about more answer ....
thatraja 6-Feb-12 10:56am    
Check updated answer
Sergey Alexandrovich Kryukov 6-Feb-12 18:46pm    
Thank you very much for your worlds. I don't say that there is anything wrong with your question. Your request for advice is valid.

I'm just arguing that the idea to Google is not that bad. I have an idea how to count those users, but I never did it; so I would personally Google to see if people have better ideas. I would not ask a question because you will get 2-3 answers at best, not so fast, and you have no guarantee they are the best. At the same time, the problem is not fundamental or difficult. This is just the case where Google would better for you. In other case, asking CodeProject questions could be better...

Good luck,
--SA
hi,

Here is the simple and quick solution...
http://forums.aspfree.com/net-development-11/count-users-online-asp-net-c-151345.html[^]
Keep in mind that this solution is not good because your users count will be incorrect (session timeout is set to 20 min) and when user lives your page, counter will be decremented after 20 min after session expires... ;)
If you can live with this it's ok...
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 6-Feb-12 18:47pm    
Looks reasonable, my 5.
--SA
 
Share this answer
 
Comments
faizyab 2009 6-Feb-12 10:11am    
IS there any solution ???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900