Your problem is that Drupal caches pages which is a good thing since you would probably get a huge performance hit otherwise.
A solution, though not so pretty is to let a js post the data with Ajax. Since Drupal don't cache post requests this could be a solution. It is however js dependant and makes an extra request which requires extra system resources. But atleast it is better than disBling the page cache.
Edit:
After giving it some thought, I think a better solution would be to create a custom block. Since Drupal blocks has their own caching system you should be able to get the functionality you want. Custom blocks is created with the use of hook_block
googletorp
2010-03-26 23:51:16