Force Safari to always log out of sites when quitting?

ac3320

macrumors regular
Original poster
Aug 20, 2011
127
0
CA
Is this possible? I know usually users want to prevent Safari from logging out automatically, in order to expedite the browsing process.

However, since I have been using the 1Password extension extensively on Safari, it seems counter-intuitive and downright stupid to have such a hardcore password system for every site, but Safari just staying logged in all the time.

My ideal setup would be this:

1. When leaving a website or closing a window, but keeping Safari open, Safari would stay logged into any sites I had logged into for that session.

2. When quitting the Safari app, all logged in sessions would expire and when I relaunch Safari, I would have to re-enter my master password for 1Password in order to re- fill in my various logins everywhere.

I have unchecked the boxes in Safari's preferences to save "User names and passwords," as well as "Other forms," but Safari is still staying logged in, even after quitting the application.

Any ideas?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,657
9,279
California
Most sites use cookies to stay logged in like you describe. If you delete the cookie for a site the logon between sessions will stop.

What might work for you is to use an app to manage cookies for you. I use the app Cookies to delete cookies and other Safari data I don't want saved. You can mark as "favorites" cookies you want to save then any non-favorites will get deleted when you quit Safari.
 

ac3320

macrumors regular
Original poster
Aug 20, 2011
127
0
CA
Most sites use cookies to stay logged in like you describe. If you delete the cookie for a site the logon between sessions will stop.

What might work for you is to use an app to manage cookies for you. I use the app Cookies to delete cookies and other Safari data I don't want saved. You can mark as "favorites" cookies you want to save then any non-favorites will get deleted when you quit Safari.
So I could, say, configure the app to delete all Safari cookies after quitting the app session? That way, whenever I re-launch Safari I will be forced to re-login to a site?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,657
9,279
California
So I could, say, configure the app to delete all Safari cookies after quitting the app session? That way, whenever I re-launch Safari I will be forced to re-login to a site?
Yes exactly. You can tell it to delete all cookies or just some of them. Mark as favorites the ones you want to keep.