简体   繁体   中英

How we can handle session management for login users in mobile applications (android,iphone) which dosent include browswes

We are developing an mobile application (android , iphone) which has server side coding in the YII PHP framework. Is there any way to handle login sessions and cookies for mobile devices, or are there any settings which YII supports for handling cookies and sessions for devices?

I think that Yii provides some solution for this, but I'm not sure.

Cookies只是处理会话ID的最常用的方式,如果这样更易于在应用中编写代码,则可以将会话ID作为GET参数发送。

session_id($_GET['session_id']);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM