I'd like to serve info from PHP to an iPhone app based on what user's logged in. Can I go the session/cookie route of authenticating requests from the app or do I have to use some sort of token authentication? Basically, can php leave cookies (same as on a browser) if i'm calling the services from iPhone app?
Yes - the NSHTTP methods handle cookies behind the scenes.
And you can configure behavior as well with NSHTTPCookieStorage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With