[Answer]-How to get session and authenticate user information from iphone to django?

1👍

Typically the session identifier will get set as a cookie, automatically if you use the default NSURLCONNECTION and NSURLRequest, as for session data, that lives on the server and if you want access to it on your iPhone you will have to develop some sort of API, be it rest based or soap or less formally defined.

So the workflow may be something like

iPhone sends login request: sever responds ok… Set cookie some session data.

iPhone sends userData request: sever responds with Json structure of user data.

Leave a comment