Vote only once in poll

Author Message

Kristoffer Karlsson

Thursday 12 October 2006 11:38:48 pm

If you kill the session (close the browser), you can vote again in my poll. How can I prevent that? There must be a way around this problem using cookies. I have spent hours searching this forum for a solution but with no luck.

Anyone?

_____________________________________
Blog: http://www.kristofferkarlsson.com
Website: http://www.spelkanalen.com

Kristoffer Karlsson

Wednesday 18 October 2006 5:55:19 am

For your knowledge...

I use the standard poll, downloaded here from ez.no.

It works great apart from the problem mentioned above.

_____________________________________
Blog: http://www.kristofferkarlsson.com
Website: http://www.spelkanalen.com

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:10:49
Script start
Timing: Jan 18 2025 19:10:49
Module start 'layout'
Timing: Jan 18 2025 19:10:49
Module start 'content'
Timing: Jan 18 2025 19:10:50
Module end 'content'
Timing: Jan 18 2025 19:10:50
Script end

Main resources:

Total runtime1.1675 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9063152.6250
Module start 'layout' 0.00570.0036 740.531339.4453
Module start 'content' 0.00931.1566 779.9766484.1797
Module end 'content' 1.16580.0016 1,264.15638.1719
Script end 1.1674  1,272.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2964160.0002
Check MTime0.00150.1244160.0001
Mysql Total
Database connection0.00140.118610.0014
Mysqli_queries1.116395.6153520.0215
Looping result0.00050.0467500.0000
Template Total1.127596.620.5637
Template load0.00220.189120.0011
Template processing1.125396.384820.5626
Template load and register function0.00020.016210.0002
states
state_id_array0.00140.116910.0014
state_identifier_array0.00130.114520.0007
Override
Cache load0.00180.1543110.0002
Sytem overhead
Fetch class attribute can translate value0.00100.087410.0010
Fetch class attribute name0.00110.092330.0004
XML
Image XML parsing0.00310.261810.0031
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00360.3121160.0002
String conversion0.00000.000740.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs