Reputation: 11519
I have PHP application for offers. In this application when user log in I start new session and save him id in that way $_SESSION['id'] = $id
. How can I use this variable in my iphone application. I think I can use cookies. But when I create cookie in the start of application how can I use value of this cookie in next screen. If you can give some start point, I'd be glad. I'm developing native application.
Upvotes: 1
Views: 965
Reputation: 3554
If you're using Apple's URL Loading System to access your web site, then you get cookie storage and handling for free with NSHTTPCookieStorage
.
Upvotes: 4