Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 24th, 2008, 05:25 AM
Authorized User
Join Date: Jan 2005
Location: , , .
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hit-count for dynamic page

Hi, not sure if this is the right place, but please can you advise?

I will be writing an application in either ASP or ASP.NET which has a small number of template web pages. These are dynamically populated with content from a SQL Server database.

A bespoke CMS will allow the administrator to create new "pages" by choosing a template page and defining the content that will fill it. These "pages" will be available to the site visitor.

Is there a way to get the hit count (and other stats) on such pages? Seems to me that I might be able to get the hit count for only the template pages themselves, whereas I really want to know the hit count for each virtual "page" that has been defined with the CMS.

Please can you tell me what the best approach is for building an application that enables me to have dynamic pages that can be tracked by a stats package.


Reply With Quote
  #2 (permalink)  
Old June 24th, 2008, 08:01 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

A hit counter is programmatic and stores its counts in some persistent medium (database, file, etc). You can build them any way you want to.

Commercial page tracking software works in different ways. You'll have to consult with the manuals of each package in order to understand what they are capable of. If your content is selected through a query string value and the tracking software can discriminate complete URLs then you may be fine with whats available. However, if you want more specific control over the statistics generation you may need to roll your own analyzer.

Reply With Quote
  #3 (permalink)  
Old June 24th, 2008, 11:09 AM
Authorized User
Join Date: Jan 2005
Location: , , .
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Hit Count jayakumar.cj ASP.NET 1.0 and 1.1 Basics 1 July 15th, 2006 06:05 AM
is there any in built function to count page count g.tamilselvan MySQL 1 February 15th, 2006 07:43 AM
retrieve everything AND count rows in one hit crmpicco MySQL 5 January 20th, 2006 06:02 AM
dynamic MySQL hit crmpicco Classic ASP Databases 1 June 17th, 2005 07:39 AM
Hit Count rajuru PHP Databases 1 November 1st, 2004 10:47 AM

All times are GMT -4. The time now is 10:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.