I started taking a look at PhoneGap for making a simple iPhone app and can't seem to figure out how I would implement login, authentication and session management. Has anyone here looked at PhoneGap or any other self-contained JavaScript-based app?
I suppose I could Ajax in a username/password and store the session_id either in a cookie or local storage?

