> Will anything get worse if each cookie is stored in its own file* ? if a site has more than 1 cookie managed as a pair, you could get them out-of-sync by not locking.
what's really wanted here is an atomic create/write/close so that one process (we don't care which one) is responsible for the whole file. i think you could get this behavior by creating a temporary keyfile and then an rename (wstat), which is atomic. - erik