Information is not saving after closing browser

A couple of days ago, my browser suddenly froze and would not allow me to interact with it in any way. It eventually restored itself and was working again after about 30 seconds, but I needed to login to everything that I was signed in on again. Now every time I close my browser or need to reopen it, the same issue occurs and none of my login info is being saved, so I need to re-login to everything again. I do not know what could be causing this issue to happen or why it happened in the first place.