I'm wondering how safe it would be to use html5 LocalStorage in a Phonegap app to store a user session.
Ideally I would store the user id + a random string to verify his identity on the database, much like a typical 'remember me' cookie.
Is this a safe practice? Anything I might be overlooking when it comes to storing data on Phonegap apps? Maybe something outside of LocalStorage?