Posted by Spyros
2015-09-08

Hello. You have done a wonderful job, this script is amazing.
I want to use it for my final project in the university and i have a couple of questions. The main idea of my project is to write an online poll, using client side javascript. When the user votes, the counting and the results will be store localy to the browser, using a cookie, and not in a database or a txt file.

So, is it possible to delete the tbase folder and the ajax_poll.php file and use/make a jquery for making the cookie and the local store?

If i delete these files, will make the code defective?
One last thing. I run the demo.html, and after the vote, it does not make any progress in the results. Is it a king of bug, or did i made something wrong?
Posted by Tom
2015-09-09

>When the user votes, the counting and the results will be store localy to the browser, using a cookie, and not in a database or a txt file.

If you store voting counts in the browser locally, other voters can't see the counts. If you want to share information with others, you have to store it in the server side.