.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 4th, 2009, 02:04 AM
just1st just1st is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 8 just1st User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 20 m 38 sec
Reputation Power: 0
Cool ASP.Net/VB.Net - Track Visitor

Hi there,

Can anyone give a guide on tracking down the number of visitor to the website? Or maybe lead me where I can find relevance information.

Any helps are appreciated in advance.

Thanks.

Good day.


Regards,
Justin

Reply With Quote
  #2  
Old November 5th, 2009, 01:17 AM
markWilson markWilson is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 253 markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 16 h 24 m 19 sec
Reputation Power: 82
Quote:
Originally Posted by just1st
Hi there,

Can anyone give a guide on tracking down the number of visitor to the website? Or maybe lead me where I can find relevance information.

Any helps are appreciated in advance.

Thanks.

Good day.


Regards,
Justin


simple way is you can use global.asa pag
in that you can define your code in

Application_onStart() function

and you want in more advance then refer this track user
__________________
if you found this post is useful click (right side on this reply ) and agree

Coding Stuffs,

web development help
Thank You,
KiranK

Reply With Quote
  #3  
Old November 6th, 2009, 02:22 AM
just1st just1st is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 8 just1st User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 20 m 38 sec
Reputation Power: 0
Quote:
Originally Posted by markWilson
simple way is you can use global.asa pag
in that you can define your code in

Application_onStart() function

and you want in more advance then refer this track user

Halo MarkWilson,

Thanks for the guildes given. From there I have try to create a hit counter for the website. It do run well. But, I would like it to be more advance so that I can collect more data from the visitor. For example, when do the visitors view the page and also the accumulative amount of visitors each day.

The referer link are too advance for me, hardly understand. Can you show me the easier way to these?

So far these are what I manage to come out:
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

'create hit counter
Dim FileWriter As StreamWriter
Dim FileReader As StreamReader
Dim Countstr As String

'Put a file on your root dir 
FileReader = File.OpenText(Server.MapPath("Counter.txt"))
Countstr = FileReader.ReadLine
FileReader.Close()
Countstr = Countstr + 1
FileWriter = File.CreateText(Server.MapPath("Counter.txt"))
FileWriter.WriteLine(Countstr)
FileWriter.Close()

lblCounts.Text = "Visited: " & Countstr

Hope to hear from you soon.

Thank you.

Regards,
Justin

Reply With Quote
  #4  
Old November 9th, 2009, 06:45 AM
markWilson markWilson is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 253 markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level)markWilson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 16 h 24 m 19 sec
Reputation Power: 82
if you really want to make your visitor hit application advance then again i will sugg u plz refer my prev post . refer this

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ASP.Net/VB.Net - Track Visitor


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek