Here are some further ideas, how to do it:
http://www.scatmania.org/2012/04/24/visitor-tracking-without...
or simply enhance the mentioned method my HTML5 / CSS3 support (e.g. through http://modernizr.com/) and you will get even much better results as shown in this study (https://panopticlick.eff.org/browser-uniqueness.pdf).