Chatgpt forgets chat session after restarting browser

Two days in a row now chatgpt forgot the chat session I had with it that day. It seems that it can happen when I restart my browser. Why does that happen, and how can I prevent it in the future?