Jahia in English > duplicate voting...

0 (0 Good)
0 (0 Bad)

duplicate voting on poll

by  bharatkasodariya »  2017/02/03 13:51

how to prevent duplicate poll vote.

If user clear cookie then can again vote. Is there any option to prevent duplicate vote from same user.


Number of messages  57
Registration date
0 (0 Good)
0 (0 Bad)

Re: duplicate voting on poll

by  cefou »  2018/04/13 09:26


I think the current implementation check only the presence of a cookie, see https://github.com/Jahia/poll/blob/2_0_2/src/main/resources/jnt_poll/html/poll.jsp lines 32... (that replace the vote form by the results when the cookie is already present).

Futhermore, it seems that if you call directly the voteAction, there is no security check to avoid duplicates votes...

So don't use it for critical polls/voting system :/

Kind regards,


Number of messages  17
Registration date

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page