Depends who you're hosted with.
Either
1) A server-side scripting language such as ASP, Perl, Python, PHP et cetera to allow you to store variables. For this, you really need to be administering your own server; not many third parties allow server side scripting in case you run crazy scripts that murder the server...
Or,
2) Some external company who do web polls that run in THEIR CGI-bins (i.e. not actually strictly within your site) - this will probably spam your site with adverts though. Some options are here.
It can't really be done through straight HTML/JavaScript; you need to be able to write the variables somewhere.
(,
Tue 8 Oct 2002, 15:16,
archived)
Either
1) A server-side scripting language such as ASP, Perl, Python, PHP et cetera to allow you to store variables. For this, you really need to be administering your own server; not many third parties allow server side scripting in case you run crazy scripts that murder the server...
Or,
2) Some external company who do web polls that run in THEIR CGI-bins (i.e. not actually strictly within your site) - this will probably spam your site with adverts though. Some options are here.
It can't really be done through straight HTML/JavaScript; you need to be able to write the variables somewhere.