Go to the options for Firefox and you'll find the settings under Privacy. For Chrome go to Settings, Advanced Settings, Privacy, Content Settings, Cookies.