Project Wonder now have a framework, ERPersistentStorage, that can help for persistent sessions. See the presentation that Ramsey Gurley made at WOWODC 2012.