Click or drag to resize
ThreadViewCounter Class
Class providing support for thread view counting.
Inheritance Hierarchy
SystemObject
  CMS.ForumsThreadViewCounter

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntax
C#
public static class ThreadViewCounter

The ThreadViewCounter type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberMaxRecords
Number of threads in the hashtable which causes automatic update in DB.
Public fieldStatic memberThreadViewCount
Hashtable with ThreadID-ViewNumber values.
Top
Methods
  NameDescription
Public methodStatic memberLogThreadView
Increments the number of views of specified post.
Public methodStatic memberSaveViewCounts
Saves the content of the hashtable to DB.
Top
See Also