dq
|
| Posted: 06/21/2002, 10:09 AM |
|
I am creating a forum for our site and am trying to update a message viewed counter. I can get it to update fields when replies are submitted but how would you go about getting the counter to update on a view. I am working in asp with templates.
|
|
|
 |
Jon Stanton
|
| Posted: 06/21/2002, 11:04 AM |
|
I've not done this but if I were to I would consider having a field in the recordset containing the 'Times Viewed' value, and then a Before Show event that increments it by one.
On top of this, an IP tracking feature would stop people refreshing and incrementing the value too many times, although I think most forums allow this to happen.
Hope this helps.
|
|
|
 |
dq
|
| Posted: 06/21/2002, 11:10 AM |
|
Thanks for the response. I finally figured out what I was doing wrong. Next will be the IP tracking to keep that count from going up artificially.
|
|
|
 |
|