Firefox has the ability to make all cookies session only with exceptions, so you can choose some websites to store cookies and all the other cookies are deleted when you quit Firefox.
How can it be done in Google Chrome?
Probably the correct answer is that Chrome does not have this feature. The better way I've found until now to clear all the cookies but cookies from some specific websites is using CCleaner. You can select in the options which websites' cookies you want to preserve, and run CCleaner from time to time.