Click here to Skip to main content
12,243,752 members (41,431 online)
Rate this:
 
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 21:29pm
Comments
Mohd. Mukhtar 10-Jan-13 2:31am
   
What have you tried so for?
vishnu agarwal 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

  Permalink  
Comments
Thomas.TangLin 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2016
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