Yes, there is... and it's almost done already! All it needs is to be integrated. The version at
http://catalystinternet.com/anton/cookie.shtml3
...is in working condition for the web and everything. The hardest part is trying to figure out where it would go on the site. I like how the slash-based sites give you a cookie at the bottom of every page so that might be one approach...