If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Cookies get reset - multiple voltes periodically allowed  XML
Forum Index » Support Forum
Author Message
Fielding Mellish
Newbie

Joined: 22/10/2004 02:41:48
Messages: 2
Offline

Hello Advance Poll 2.03 Experts!

I have set up Advance Poll correctly. The poll works as expected. However, every now and then it appears I can vote again (well, I don't but others might). Is this a cookie issue? Is there a fix?

Yes, I do have this in the head ::

<?php
// Important! You have to include it before your html code
include_once "/path-to/poll/db/poll_cookie.php";
?>

Try http://www.ourtrent.com/docs/

Comments and advice most welcome.

Thanks!
Fielding Mellish
Newbie

Joined: 22/10/2004 02:41:48
Messages: 2
Offline

I found that the cookies were set to expire (and did expire) in 96 hours. This is the default set in /db/poll_cookie.php. This value has to be changed, for example change this:

$cookie_expire = 96; // hours

to this;

$cookie_expire = 6000; // hours

to make the cookie expire only after 250 days.

If I'm wrong will someone please correct?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Due to it's reliance on cookies the script will always be susceptible to cheating. Auron is making an updated version of the Advanced Poll and hopefully he has fixed this bug.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum