Poll: How prevent duplicate votes?

Author Message

Francesc Febrer

Wednesday 11 February 2004 6:59:27 am

Hi.

I have a poll at my site open to everybody (anonymous users can vote it). For this, I set creat policy to anonymous user's group, but I want prevent duplicate votes (ie, sessions, cookie, etc). How can I do this?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:09:50
Script start
Timing: Jan 18 2025 19:09:50
Module start 'layout'
Timing: Jan 18 2025 19:09:50
Module start 'content'
Timing: Jan 18 2025 19:09:50
Module end 'content'
Timing: Jan 18 2025 19:09:50
Script end

Main resources:

Total runtime0.5998 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.1563152.6406
Module start 'layout' 0.00860.0042 741.796939.4766
Module start 'content' 0.01270.5856 781.2734397.1719
Module end 'content' 0.59830.0014 1,178.44538.1406
Script end 0.5997  1,186.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6085160.0002
Check MTime0.00150.2489160.0001
Mysql Total
Database connection0.00240.403510.0024
Mysqli_queries0.560493.4349460.0122
Looping result0.00050.0834440.0000
Template Total0.562193.720.2810
Template load0.00250.411820.0012
Template processing0.559693.297120.2798
Template load and register function0.00010.024710.0001
states
state_id_array0.00110.184410.0011
state_identifier_array0.00130.211720.0006
Override
Cache load0.00180.305450.0004
Sytem overhead
Fetch class attribute can translate value0.00050.078410.0005
Fetch class attribute name0.00080.138710.0008
XML
Image XML parsing0.00010.017810.0001
class_abstraction
Instantiating content class attribute0.00000.001510.0000
General
dbfile0.00070.1109100.0001
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs