Click here to Skip to main content
11,429,777 members (70,899 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Hii to all, i want to count the no of users visited to my website,one more requirement is to get this count as daily basis,weekely,monthly basis,please send me the code for this...thanks in advance


with regards
D Ramu
Posted 9-Dec-12 4:39am
Comments
aspnet_regiis -i at 9-Dec-12 10:13am
   
If somebody sends you the code, then how much money do you intend to send him for his efforts ?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

    void Application_Start(object sender, EventArgs e) 
    {
      
        Application["visitors"] = 0;
        
 
    }
         
    void Session_Start(object sender, EventArgs e) 
    {
       
        Application["visitors"] = int(Application["visitors"]) + 1;
    }
 
    void Session_End(object sender, EventArgs e) 
    {
        
        Application["visitors"] = int (Application["visitors"] ) - 1;
    
    }
  Permalink  
v2
Comments
Ram7 from Hyderabad at 9-Dec-12 22:29pm
   
Thanku very much its working............................
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

You Can Use Google Analytics For this Purpose-
You Can get Daily Visitors of Your Website---

http://www.google.co.in/analytics/[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

which technology you use like Java, ASP, python?
  Permalink  
Comments
Ram7 from Hyderabad at 9-Dec-12 22:26pm
   
Hii,thanks for ur responce, i want code in asp.net technology

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



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100