How do we authenticate users in mobile apps for Android and iPhone

We are developing a mobile app in Android and iPhone which has a server-side coding in PHP (YII). I want to perform session management on the device for authenticating users in a similar way a website (web browser) could manage. Is there anything which Yii supports for it? Please help.

Why shouldn’t that work?

All big mobile os(and third party browsers) can handle cookies.

If you want to authenticate inside of an app, you should read the docs for the specific os.