Restoring Sarfari session

Joined
Sep 27, 2015
Messages
7
Reaction score
0
Points
1
Hi,

I know there's an option to restore windows from the previous session, but at first that was greyed out, and now it just restores a single window with my homepage. I had a huge number of tabs open, and it would be tedious in the extreme to restore them one by one from history. Is there any way to load them all at once from history, or some other means to manipulate the system folder to return to the older session as can be done with Firefox?

Thanks
 

bobtomay

,
Retired Staff
Joined
Dec 22, 2006
Messages
26,561
Reaction score
677
Points
113
Location
Texas, where else?
Your Mac's Specs
15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
The very first item in Safari Preferences - General - Safari opens with... All windows from last session - should restore everything you had open last session.

You can also head for History in the Menu bar and select Open all Windows from last session.

Sometimes, if you have a corrupt cache, it may quit working properly.

Head to ~/Library/Caches/com.apple.Safari/Cache.db and delete the cache.db folder.
(You can copy/paste that into Finder to get to the folder)
 
Last edited:
OP
A
Joined
Sep 27, 2015
Messages
7
Reaction score
0
Points
1
The very first item in Safari Preferences - General - Safari opens with... All windows from last session - should restore everything you had open last session.

You can also head for History in the Menu bar and select Open all Windows from last session.

Sometimes, if you have a corrupt cache, it may quit working properly.

Head to ~/Library/Caches/com.apple.Safari/Cache.db and delete the cache.db folder.
(You can copy/paste that into Finder to get to the folder)

Thanks, but the older session has somehow been replaced and I'm just getting the homepage because that is now the last window. The only sizeable file I see in the system folder is the history one, unlike in Firefox where several older sessions are usually saved automatically.

I don't seem to have com.apple.Safari within Caches.
 
Last edited:

bobtomay

,
Retired Staff
Joined
Dec 22, 2006
Messages
26,561
Reaction score
677
Points
113
Location
Texas, where else?
Your Mac's Specs
15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
If it's not there, you are looking in the wrong Library folder. Copy and paste
Code:
[COLOR=#333333][FONT=Lucida Grande][I]~/Library/Caches/com.apple.Safari/Cache.db[/I][/FONT][/COLOR]
that into the search field of Finder. That Library folder is in your users folder - not the one at the root of the drive. That's what the tilde "~" tells you in shorthand.

If you're trying to restore a session which is now previous to the immediately previous session, then no - the only way you're going to get that is to go through your history or reopen tabs and head for the sites again.
 
OP
A
Joined
Sep 27, 2015
Messages
7
Reaction score
0
Points
1
Thanks. I wish it kept a couple of past ones in place, but I should have been using Time Machine.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top