Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Poll MOD. BUG?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sigar
Starting Member

1 Posts

Posted - 23 November 2005 :  08:25:04  Show Profile
While testing my forum I discovered a strange thing about the Poll MOD.

If using Firefox I can vote only once, even if I logout and then login again using a different member account.

If using IE with no cookie (blocked by firewall, Norman), I can use the same account to place multiple votes. (Haven't tried this with Firefox.)

Regards Peter.

Image, stealing people's passwords is wrong! Why is that hard to understand?

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 November 2005 :  08:33:20  Show Profile
This sounds like proper (or at least intended) behaviour to me. When you vote in a poll, a cookie is set on your machine to indicate that you have done so. So, even when logged in with a different account, the cookie will always "tell" the forum that you have voted in a given poll. Of course, without the cookies, the forum can't tell whether or not you've voted in a poll which is why you are able to vote multiple time when you block cookies.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 23 November 2005 :  14:37:53  Show Profile
Hmm, maybe if the cookie can't be set, then we should prevent persons from voting? hmm

Support Snitz Forums
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 24 November 2005 :  08:05:16  Show Profile
Or maybe the next version could include a new table that holds the poll id and the member id to keep track of who has voted in what polls? That way, as well, multiple members using the one computer wouldn't be prevented from voting in a poll once one of them has.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 November 2005 :  11:50:53  Show Profile
hehe Shaggy, you sound like you don't use the poll mod.
If you set the poll to members only, it does just that. No cookies are set. Just tracks it by the members ID.
When it is set to Everyone can vote, it utilises both cookies and database (when they are logged in).

Support Snitz Forums
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  05:36:39  Show Profile
quote:
Originally posted by Davio
hehe Shaggy, you sound like you don't use the poll mod.
That obvious, huh?! All I know of the Poll Mod is what I've read in these forums or have figured out from brief scans of the source files!

Maybe then, it could be modified so that, if it is set for anybody to vote, member's votes are still tracked in the table with non-member votes being tracked by cookie?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 November 2005 :  10:12:31  Show Profile
quote:
Maybe then, it could be modified so that, if it is set for anybody to vote, member's votes are still tracked in the table with non-member votes being tracked by cookie?
How is that different from what I just mentioned Shaggy?

When it is set to Everybody, members votes are stored in both a cookie and in the database. In that case they might log out and try to vote again.
Non-members votes are stored in the cookie only. That's the only way to track non-members votes.

Support Snitz Forums
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  10:23:12  Show Profile
Sorry, man, misread your post; ain't feeling 100% today.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 25 November 2005 10:25:53
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 November 2005 :  14:30:36  Show Profile
Hey, no prob. Figured you must be losing it, so I took time to explain it again.

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07