question

Laarni avatar image
Laarni asked

Hi. Just looking for a way to check if my user is already logged in via an API call so he can move on to the next view controller.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Laarni avatar image Laarni commented ·

Forgot. I am coding with xcode and objective C

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

Any Client API call (apart from login and password reset) will return the NotAuthenticated error if the user does not have a valid Session Ticket. Please bear in mind that the Session Ticket could technically time out between any two calls, so it's always important to check the return results from all calls to see if there were issues.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.