I have code for counting visitors but it does not work. On Global.asax page: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Application("ClientsCount") = 0 End Sub On starting page: Dim count As Integer = 0 If Application("ClientsCount") IsNot Nothing Then count = CInt(Application("ClientsCount")) End If count = count + 1 Application("ClientsCount") = count
Try checking out this link. http://forums.asp.net/t/1462119.aspx/1 Someone else had a similar issue like yours. There are some sample codes that you can maybe use on your end.