page / product clicks ?

G

Girish

Hi

I have list of products listed from a search criteria, Now I wanna show the
client TOP VIEWED LIST OF PRODUCTS or number of hits for each product. So
the page hits using the counter component will give me the hits for the
entire which has all the products.

Perhaps I could catch it in the product DETAIL page, how do I list the
number of hits for each product. Secondly I have IIS 4.0 make sure you
recomend the right component.

Thanks much!
 
M

Manohar Kamath [MVP]

Store the clicks for each product in say product table. When user clicks on
the product detail page, update this count -- use a stored proc/method to do
this.

There are multiple ways of doing this, but my generic statement is because
of lack of details on your application. Hope that helps.
 
G

Girish

I got the idea of updating once you get detail page by setting an increment
counter (say x) like Update table name set x=x+1 where
productid=request(id), how do I store the clicks? I guess I need to insert
one record for each unique product setting x = null or zero.... right?

Please tell me how would you do it, feel free to ask me specifics.

Appreciate it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,370
Latest member
desertedtyro29

Latest Threads

Top