Forum Moderators: open

Message Too Old, No Replies

Logging number of hits and downloads

         

morpheus83

6:12 am on Oct 26, 2004 (gmt 0)

10+ Year Member Top Contributors Of The Month



I run a site which has a gallery for wallpaper downloads. It is completly dynamic. I want to add the feature which displays the number of times a particular image was viewed and number of times it was downloaded. (The site is based on .net platform and runs on C# and MSSQL)
Thanks in advance.

raywood

1:19 pm on Oct 26, 2004 (gmt 0)

10+ Year Member



Why don't you just add two columns to your database? One for views and one for downloads that you can increment when a visitor views or downloads. Pull the value out and dsiplay it on your page.