How can I incorporate a web counter (page hit) in ASP.Net to track the number of visitors in my site?
ebabes
0
Junior Poster in Training
Recommended Answers
Jump to PostWhy don't you track it with statistics?
Anyway, if you really want it, you can use global.asax file for that.In Application_Start and Application_End event of global.asax set something like this:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Application("Online") = 0 End Sub Sub …
Jump to PostYes, you can store them within a database or within text, or even within XML.
For research on my websites to see which ones are popular, in which directories, etc. I store all my information in XML files, and upload them once every 15 minutes to the database server. …
All 8 Replies
ManicCW
3
Junior Poster in Training
ManicCW
3
Junior Poster in Training
serkan sendur
821
Postaholic
Banned
dilipv
0
Light Poster
SheSaidImaPregy
28
Veteran Poster
ebabes
0
Junior Poster in Training
serkan sendur
821
Postaholic
Banned
SheSaidImaPregy
28
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.