Web server user session management for iPhone application user

I am writing an application for the iPhone. This application requires users to log in to a remote web server that uses php + mysql. How can a server handle this? Using sessions? Biscuit? unique identifiers? Any link / code / tutorial on how to do this would be great.

Thanks!

+3
source share
2 answers
  • Get a ready-made web service that is created using php

  • When logging into the webservice system, invoke the successful authentication account, returns a random string, storing it in a server-side variable and saving it in plist or sqlite db

  • , , , ,

  • , Http 200, , viewcontrollers ( , . , HTTP-)

+2

, NSURLRequest cookie , .

+1

Source: https://habr.com/ru/post/1713138/


All Articles