Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Hi,
 
I want to see my aspx page visitor and save it on sql server.
Please provide me complete solution ASAP.
Posted 9-Jan-13 20:29pm
Comments
Mohd. Mukhtar at 10-Jan-13 2:31am
   
What have you tried so for?
vishnu agarwal at 10-Jan-13 2:36am
   
I want to count my aspx page visitor
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
Solution
 
http://statcounter.com/[^]
  Permalink  
Comments
Thomas.TangLin at 10-Jan-13 2:48am
   
first you should recorded the data when visitor visit you aspx page,and then you can use script as:
 
select visitor_id ,count(1) from table group by vistitor_id order by date desc;
 
Advanced: if you want to think over Performance ,will think other way。
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Just create a table into database with column id, date and counter. And update counter by one in page load method with where condition on date column.
 
Check successful update or insert row for first visit.
  Permalink  
v2

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



Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid