Author |
Message |
22/10/2004 02:47:29
|
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!
|
|
03/11/2004 03:55:24
|
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?
|
|
03/11/2004 12:17:23
|
Carbonize
Master
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 |
|
|