I can't be certain, but I seem to remember there was a setting in Safari for deleting history and cookies upon closing the application automatically. I can't seem to find that setting. It appears to me that the only way to do that now is manually at the end of each session.
The problem I am having is that each time I open Safari I have all the previous tabs from previous use opening if I haven't manually deleted their history before closing Safari on the previous use.
I know this works in Firefox, which I use frequently. I am using Safari to record online streaming audio via Audio Hijack and I sometimes end up with multiple tabs open and am getting multiple audio sources. Audio Hijack has a timer that opens and closes Safari, but no control over the history that is created in Safari.
I would appreciate some help if anyone is so inclinded. Thank you.
Safari 6.0.5 has a setting : Preferences - General - Safari opens with...
if that's set to ' a new window ' rather than 'all windows from last session' and you still have the issue, then check System Preferences - General - Close windows when quitting an application.