|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
Can anyone give a guide on tracking down the number of visitor to the website? Or maybe lead me where I can find relevance information. Any helps are appreciated in advance. Thanks. Good day. Regards, Justin |
|
#2
|
|||
|
|||
|
Quote:
simple way is you can use global.asa pag in that you can define your code in Application_onStart() function and you want in more advance then refer this track user
__________________
if you found this post is useful click (right side on this reply ) and agreeCoding Stuffs, web development help Thank You, ![]() KiranK |
|
#3
|
|||
|
|||
|
Quote:
Halo MarkWilson, Thanks for the guildes given. From there I have try to create a hit counter for the website. It do run well. But, I would like it to be more advance so that I can collect more data from the visitor. For example, when do the visitors view the page and also the accumulative amount of visitors each day. The referer link are too advance for me, hardly understand. Can you show me the easier way to these? So far these are what I manage to come out: Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'create hit counter
Dim FileWriter As StreamWriter
Dim FileReader As StreamReader
Dim Countstr As String
'Put a file on your root dir
FileReader = File.OpenText(Server.MapPath("Counter.txt"))
Countstr = FileReader.ReadLine
FileReader.Close()
Countstr = Countstr + 1
FileWriter = File.CreateText(Server.MapPath("Counter.txt"))
FileWriter.WriteLine(Countstr)
FileWriter.Close()
lblCounts.Text = "Visited: " & Countstr
Hope to hear from you soon. Thank you. Regards, Justin |
|
#4
|
|||
|
|||
|
if you really want to make your visitor hit application advance then again i will sugg u plz refer my prev post . refer this
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP.Net/VB.Net - Track Visitor |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|