Easiest way to save/load ONLY scene name?

I thought this would be very easy, but i’m having immense trouble with it. I need to simple save the name of a scene when it’s loaded, and, when booting the game, load the last scene which was saved. Any ideas for a method that you know works?

(using C# btw)

Use PlayerPrefs.SetString to save the scene name. Then load it again with somethingreat like:

if(PlayerPrefs.HasKey("savedLevel")){
 Application.LoadLevel(PlayerPrefs.GetString("savedLevel"));
}