Safari loses cookies randomly and periodically

It is now that I am confronted with this problem. From time to time, and on some websites, I must either:

  • accept again cookies, and / or
  • S & # 39; identify again.

I'm using macOS 10.14.4 and Safari 12.1. It's pretty annoying. Any suggestion?