To keep your content out of Google's cache, place this meta tag in the <head> of the page for googlebot: <meta name="googlebot" content="noarchive">
I am not technically knowledgable enough to know how the cookies thing works here with Google. All I know is what's in our threads, from the time last year when Brett went to war against rogue bots. That's when all these changes took place. Our current situation is the result of MUCH work on his part -- I doubt that the precise details will be public, or else the rogue bots would find a way around the barriers that Brett built to protect our server.
[webmasterworld.com...]
[webmasterworld.com...]
Note that we do not use a database here -- these forums run on flat files. So I doubt that Brett's final solution, even if made fully public, would be applicable to your situation.