In the reported case (cookies disable in iOS 7), sessionStorage and localStorage are not available. the SessionStorage helper is not available at the time this is ran, but LocalCache is.