CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Update Views

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.