Node view abuse control: What exactly is a "user"
taite11 - December 2, 2008 - 04:19
| Project: | Radioactivity |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
On admin/settings/radioactivity/node_radioactivity it says ..."This setting determines the amount of time to store click information per user"...
How does it determine who is a user? For example, is it based on the currently logged-in user or IP address or cookie?
Thanks. :) Cool module.

#1
The current implementation is as follows: (
radioactivity_node_user_node_view())From any clicks, session id and user ip are always recorded amongst other bookkeeping data. Sessions are determined by session cookies.
This scheme is not fool-proof in that, e.g., anonymous users behind single NATed gateway are all considered as one. However, the scheme is probably good enough when you use reasonable node click durations, e.g. 10 minutes.
If anyone comes with a better solution, hopefully non-module-specific abuse control, I'm eager to reconsider the implementation.
#2
That sounds pretty good to me. Thanks.