Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2008, 05:25 AM
Authorized User
 
Join Date: Jan 2005
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.

Thanks.

 
Old June 24th, 2008, 08:01 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.

-Peter
compiledthoughts.com
 
Old June 24th, 2008, 11:09 AM
Authorized User
 
Join Date: Jan 2005
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.






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





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