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?
Share
Yes – the NSHTTP methods handle cookies behind the scenes.
And you can configure behavior as well with NSHTTPCookieStorage.