apple has left my country, so I don't have the opportunity to write to them(Why? ¯\_(ツ)_/¯ ask an Apple developer.
I suspect it's because if you want to remove history, you're trying to remove all evidence of accessing that site. Which would include cookies.
It doesn't helpApple Support:
Clear your browsing history in Safari on Mac
https://support.apple.com/guide/safari/sfri47acf5d6/mac
Clear cookies in Safari on Mac
https://support.apple.com/guide/safari/sfri11471/
Keep your browsing history private in Safari and Maps
https://support.apple.com/guide/personal-safety/ips375e6d608/web
Simply put, your login access is stored in a cookie that you are deleting.My memory may be wrong but I believe other browsers (Chrome and Firefox I’m recalling) allow you to delete history and other temporary files without deleting cookies.every time I clear my safari history, I log out on all sites, why is this happening?
That is what is supposed to do and what it should be doing. If cookies were not deleted, there would be a record (history) of the websites you visited based on the cookies stored.It doesn't help
Yes, both have that capability.My memory may be wrong but I believe other browsers (Chrome and Firefox I’m recalling) allow you to delete history and other temporary files without deleting cookies.
these commands do not delete the history. I have checked several timesDelete history without deleting cookies
- from Terminal
- AppleScript that can be saved as an appCode:rm ~/Library/Safari/History*
AppleScript:do shell script "rm ~/Library/Safari/History*"
tell application "Safari" to quit
delay 0.5
do shell script "rm ~/Library/Safari/History*"
delay 0.5
tell application "Safari" to activate