I tried your suggestion, once again it worked when I just re-started Safari, but as soon as I rebooted my Mac, the settings reverted to Always again
This is getting worrying, because I don't want every site plunking cookies in, and I cannot disable them because I use certain sites that require them...
Any other ideas?
it seems that something is changing that setting- a script or login item or application.
Is there anything in System Preferences-Accounts-Login Items ? if so, try removing them (note what they are first) then test again
If not, then check briefly in a New User Account to see if this affects every account or just your usual one, & we'll know where best to look.
per-account add-ons can be in Home/Library/LaunchAgents/ or .../ScriptingAdditions/ or .../InputManagers/ or .../Internet Plug-Ins/ commonly, or of course extensions should show in Safari - Preferences - Extensions
I haven't tried the latest suggestions, but I did discover an app called "Safari Cookies", http://sweetpproductions.com/safaricookies/, and it seems to have fixed the issue, as the setting now holds between Safari and Mac sessions...
If the issue re-occurs, I will try your latest suggestions and see what happens.
I just tried to temporarily remove Safari Cookies, and I'm sad to say the old issue re-occured as soon as the add-on gets uninstalled.
It seems also, that after launching Safari for the first time after a reboot and going into Safari Preferences fast enough before the add-on launches, the setting is still incorrect, but then gets modified by Safari Cookies.
I went and checked my Login Items, but there's nothing there that can affect Safari; the list hasn't changed in a long time. I don't have folders .../InputManagers or .../ScriptingAdditions under Home/Library.
Under .../LaunchAgents, I have the following:
The first three are related to my Adobe CS5 and Acrobat X Pro installations.
Now that I have the add-on which seems to keep things in check, this isn't as high a priority as it was, but I would definitely love to find out what's causing this so I can eventually nip it in the butt!
Nice that you've found a way around it - assuming that a new account behaves as expected - my next effort would be to remove those files temporarily & see whether or not the cookie setting sticks. If it does - put back say the adobe ones & try again, then the apple ones, and finally the google ones.
Hopefully, you'll easily see which group causes it & can pin it down from there.
Sounds long-winded, and maybe is - but if you use log out rather than restart (after proving that it is an account-specific problem) you'd be done in under ten minutes, I'd think.
I just moved all the files I listed out of that folder and into a temp folder on the Desktop, and logged out and back in again, and the problem persisted.
I went ahead and created a new account under Accounts and made it an Administrator account. Tried multiple log-outs and log-ins on that one after setting the cookies to "Only sites I visit", and it remembered the setting each time.
Looks like the issue is with my main Admin account.
Any ideas what to do next?
I finally found the culprit...
I use an app called iGTasksPro for Gmail Calendar, and I discovered it was the one changing the cookie settings.
I have already contacted the developer and informed them of the glitch. Hopefully they'll issue an update soon.
Thanks for all the help, very much appreciated!