L
L
Leonid2016-09-26 09:32:14
Yii
Leonid, 2016-09-26 09:32:14

Permanent token authorization from a mobile application on a Yii 1.x site - how?

There is a mobile application (HTML5) from which requests are made to the site on Yii 1.x
The application has a form for entering the Personal Account, after successful authentication through the site, a token is added to each AJAX request for subsequent authorization of actions.
How to implement authorization for each request through a token is written here: www.yiiframework.com/wiki/607/how-to-use-token-bas...
but I do not need to do authorization with each request from the application, but only in the necessary sections that require access, and even better, use a token to maintain permanent authorization on the site, for example, as it happens through COOKIE .
How to implement this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question