Forum Moderators: open

Message Too Old, No Replies

Page view counter for ASP pages?

         

dickbaker

8:27 pm on Mar 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a site that's primarily dynamic, using a MS SQL Server. My customers want to know how many times their pages have been viewed.

Does anyone know of an existing script that would update each customer's page in the database when a visitor views his page?

Thanks for any replies.

Easy_Coder

12:06 am on Apr 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



dick -

You have a few options.

1) What do you have on the web server side and is logging ON?

2) If logging is on then you just need a log parser.

3) If you have IIS the option is available for you to map that traffic logging right into sql server.

4) You can get a 3rd party logging service; they'll want you to drop an image or a small bit of javascript into every page in the site that you want to track.

5) You can go with a custom solution if you have access to the sql server

If you want to go with a custom solution then chime back in and I'll post an example for you to get started.