andrew,
i was basically seconding this notion:
> I wonder if we could hook into Mozilla's cookie manager?
seems that if it's the same file, the mozilla (or some third party) manager could be adapted to the task fairly easily... but i wouldn't really know.