I'm very new to writing web apps and writing iPhone apps. I have a simple web app ready to go which uses authlogic to have users sign in / register.
I want to allow users of the iPhone app to sign in and register. In order to do this, I am planning to use ASIHTTP. I am doing that based off of this stackoverflow topic: Authlogic and iPhone app login
Is that the best of way of going about it or are there better/easier methods of doing it? I wanted to try to use ObjectiveResource, but unfortunately I cannot access the iphoneonrails.com website.
Now, assuming I can get the system hooked up, how do I save passwords on the device? I want the user to have to log in just once. Do I save some authlogic token or should I be saving the username/password to the keychain in iOS? To me it seems to make sense to save the single use token.