Which browser are you using?
In IE: Look in Tools - Internet Options - General. Perhaps you have the item " dedelete browsing history on exit" and, in the settings for that item, maybe some of those are selected.
In Edge, under settings, scroll down and make sure you have the correct advanced settings under "clear browsing history"