Handling Sessions on Google App Engine with Android/IPhone

前端 未结 6 591
借酒劲吻你
借酒劲吻你 2021-02-04 07:11

I\'m starting to write an app whereby a mobile app (Android/IPhone) will communicate with the GAE backend (Python) through a series of Web API calls using JSON.

I can\'t

6条回答
  •  甜味超标
    2021-02-04 07:48

    I cannot see why you would need a session? Sessions on App Engine are persisted in the data store, so if you can keep your requests stateless, I encourage you to do so.

    As you will have your own user service which will authenticate the users, I suggest you use Digest authentication, as the secret is never included in the request.

    There are libraries implementing Digest for most client and server platforms.

提交回复
热议问题