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.
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
.
精彩评论