Author: q8_dreamy | Posted on: 3/22/2010 1:36:50 AM | Views : 288

Hiiiiiii
I used the following code in global.asax to count number of visitors in web but it didn't work so any idea why??? or any other method.
Thank u

    Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
        ' Code that runs on application startup
        
        Application("counter") = 10
        
    End Sub
    
    Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
        ' Code that runs on application shutdown
    End Sub
        
    Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
       ...

Go to the complete details ...