Click here to Skip to main content
12,758,051 members (32,823 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET SQL-Server , +
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 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 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 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)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2017
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