i have a poll script in asp (i downloaded it at www.tippedcow.com ). it works decently. there's only one issue - if you've never been to the site, it doesn't do the cookie-read thing right and it displays the results. the next time you come, you can vote (which is why i have few voters out of thousands of visitors. BUT - the rest of it works well. i'm sure it's the beginning of the script which starts like this:
<%' id of poll to display
ID = 51
if Not Cookies_Enabled or Request.Cookies("PollID") = CStr(ID) then
ShowDisplay
Else
ShowVote
End If
Function Cookies_Enabled()
Cookies_Enabled = request.serverVariables("HTTP_COOKIE") <> ""
end function
Function ConvertToPercent(total, sz)
If sz = 0 Then
ConvertToPercent = "0%"
Else
ConvertToPercent = FormatPercent(sz/total, 2)
End If
End Function
Sub ShowVote
%>
anyone know what i can change it to so first time visitors can vote?
btw - this poll counts users one by one, etc. i want to make an archive page, and i feel this would be to slow. so, i'm open to suggestions on that too.
also - if anyone thinks any of the poll scripts people have listed here are better, please point me to them
thanx.
v ø d k â f ï § h
Edited by - vodkafish on 21 March 2001 17:33:04