It could be your internet security that's doing it. I used to have one that automatically deleted cookies or refused to allow them to be stored unless it was a trusted website, each one added by a prompt.