Safari problem - won't reopen windows from last session

Status
Not open for further replies.
Joined
Oct 5, 2008
Messages
4
Reaction score
0
Points
1
Hello,

I recently returned after being away for four weeks, and I'm having a new problem with Safari. It won't reopen all the windows and tabs I've been working with. All my work is lost!

What I get instead is many windows and tabs each with a title "Untitled" and a number. This problem has never happened before, and I've searched the world over but can't find a solution.

I always have research and work-in-progress going on in my browser, and that means many, many windows and tabs open. So, when I restart Safari, I use the "Reopen All Windows From Last Session". This has worked ok for me up until now.

(Also, I regularly back up my LastSession.plist, which is in Users>myaccount>Library>Safari. The reason why I have learned to back up this file is because Safari's implementation to reopen last session is very weak... if you open Safari to view one page, then quit again, all your previous work is instantly overwritten and lost.)

When I opened Safari this time, I emptied the cache. Maybe this was a mistake, but I've never had a problem doing this before.

I went to previous versions of my LastSession.plist, and they load with the same problem. I have looked at the plist file and it does contain all the urls of the websites I had open, but Safari isn't paying any attention to that data. It's just giving me a bunch of blank windows and tabs. Oddly, though, three of the windows with all their tabs are opening and loading properly.

I opened up Time Machine and tried restoring the old Safari cache, but it looks like this is not backed up by Time Machine because it can't be restored.

Does anyone out there have any suggestions how to fix this, so I can resume with my work?

This is annoying and I've already spent several hours trying to find a solution, and I'm swamped with other things to do. I don't understand why Safari and other browsers can't be designed to be more robust in this capacity. I have had problems with Firefox losing all my open pages too.

I have a fast new Mac with loads of RAM. Everything is up to date. This is the first time this has happened, and I'm hoping I can get Safari working the way it was before I went away.

Please help?!!

Thanks...
Dionosaur
 
Joined
Apr 28, 2006
Messages
2,542
Reaction score
79
Points
48
Your Mac's Specs
iMac Core Duo 20", iBook G4, iPhone 8GB :)
You could try resetting Safari's preferences. To do that just delete the file in:
Users>myaccount>Library>Preferences>com.apple.Safari.plist

Know that it will bring you back to square 1. I'm not sure whether it deletes your bookmarks and such (having never tried it), but it will reset your Safari preferences.
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Since it seems you really rely on this feature, I'd suggest using Firefox instead. Session restoration seems to be a bit more fleshed out there and can even be synced across multiple machines: Mozilla Labs » Blog Archive » Introducing Weave
 
OP
D
Joined
Oct 5, 2008
Messages
4
Reaction score
0
Points
1
Thanks goobimama and Aptmunich for the comments and good suggestions...

I forgot to say that I did try a Time Machine restore of the Safari prefs, and it didn't fix the problem (I restored a prefs file from the happy era). It was good to see that T M apparently had backed up the prefs files, but the restore had no effect on the problem.

I didn't try deleting the prefs file, but I have a feeling the T M prefs replacement probably means that the problem is caused by something else.

I did use Firefox in the past, but I switched to Safari 3 after the big improvements. Firefox (the previous version) did lose my entire sessions on three occasions, though it had a feature that promised it would allow you to reopen them each time. I dumped Firefox after that, and because their tech support was so unhelpful about the problem. (mind you, I can't say Apple is much better.)

So, I'm hoping this is a strange anomaly that someone will have a slick solution for, so that Safari will read the LastSession.plist, and reopen the windows and tabs like it's supposed to.

It's weird though, that this had never happened before... and it happened for the first time now, after having my computer shut down for 29 days. I wonder if this is some clue as to what caused this problem.
 
Joined
Apr 28, 2006
Messages
2,542
Reaction score
79
Points
48
Your Mac's Specs
iMac Core Duo 20", iBook G4, iPhone 8GB :)
How about you install Safari 4 developer preview? It works just fine, and looks the same. I've had no issues with it since it was introduced. Might just solve the problem.

(Safari 4 has an uninstaller included, just in case)
 
OP
D
Joined
Oct 5, 2008
Messages
4
Reaction score
0
Points
1
If I install the Safari 4 preview, and I find problems, then uninstall it, do you know if the uninstaller will mess up my original settings, bookmarks, history, etc.?

I'd like to try this, but I want to make sure it won't risk any more problems.

The big mystery remains to me, though... and that is, why did my Safari 3 suddenly lose its ability to correctly reload my last session...

Does anyone out there have any other suggestions about who or where I could post this question?

Thanks again.
 
Joined
Jun 8, 2010
Messages
1
Reaction score
0
Points
1
having same problem

I just had the same experience. It has never happened before in the year and a half I have been using my MacBook Pro. I had several windows and tabs open but nothing compared to what I usually have. Did you ever find the cause or solution?

Also I just realized my computer had shut itself down automatically, which it normally is not able to do since I had left several tabs and window open during the Safari session. So I am thinking this may have something to do with the issue.
 
Joined
Jul 30, 2009
Messages
7,297
Reaction score
301
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
This thread is over 1-1/2 years old. I doubt you'll get a response from the original participants.
 
Joined
Sep 3, 2010
Messages
1
Reaction score
0
Points
1
Did you ever figure out how to fix your problem...

I'm trying to open all my open windows from a prior session. I used Time Machine, found an old "lastsession.plist" and tried replacing the newer one w/this one but it didn't work. Do you know another fix?
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Joined
May 26, 2011
Messages
1
Reaction score
0
Points
1
refresh the page or tab

This is a fairly old thread, and newer versions of Safari are out now, but I think the same behavior that Dionosaur described still occurs: upon restoring the last session, some pages or tabs are titled "untitled" with some random numbers. I have had that occur, and in that case I get the original webpage back by just refreshing that page (control-r, or click the circular arrow icon at the right of the address field).

Aptmunich, thanks for the link to David Yoo's Sessions manager; it looks like a winner! Right now I am posting this in an alternate quick free little browser called TurboWeb because Safari has gotten stuck with the spinning beach ball. I had planned on using the restore feature, because the last time Safari crashed or maybe it was a power glitch that restarted my Mac, but I wanted to go back to those dozens of windows and tabs. After I got back into Safari, I began surfing, and before I ever did restore my previous session the dreaded beach ball attacked. Therefore, I don't think I can restore back to that earlier session with dozens of windows. I saved off the lastsession.plist file, but it is dated today so it may not have what I wanted from before. Bottom line, David Yoo's extension looks like a very welcome addition to actually be able to manage sessions in Safari!
 
Joined
Mar 23, 2010
Messages
2
Reaction score
0
Points
1
Hi,
One thing to check and test is that your safari preferences for Remove History Items is checked for more than one month... This could explain why after a month your windows did not load - you might have choosen safari to delete history after one month. Also Apples term is vague as the number of days varies for each month. You said the urls were in the plist file.... what about your history file?.... just right-click and open each in a new window manually or reload from there.
 

SBG


Joined
Nov 13, 2014
Messages
1
Reaction score
0
Points
1
safari 8.0 and still unsolved problem

We have Yosemite and still I have same problem from time I boght my imac with osx mountain lion but only on my account. Funny anoing thing maybe solution witjh extensions for safari session gona works. thanks
 
Status
Not open for further replies.

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