Just saw this, thought it might find it helpful for implementing IE cookie support, as alternative to wrapping the wininet functions. Or maybe not. It's in Python, but I don't think that matters too much.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/80443 John
