ThreadViewCounter MembersKentico 8.1 API Reference
The ThreadViewCounter type exposes the following members.
Methods

  NameDescription
Public methodStatic memberLogThreadView
Increments the number of views of specified post.
Public methodStatic memberSaveViewCounts
Saves the content of the hashtable to DB.
Back to Top
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.
Back to Top
See Also