how to maintain session state in restful webservics in cakephp?

i have develop RESTful web service in cakephp . i am using http GET and POST method and sending request in form of JSON . there is a scenario where i want to maintain session for particular user so i can track it.

on server side i maintain a session but it is not working

$game_session_id = $this->Session->read('game_session_id');
$leader_game_id = $this->Session->read('gameid')

i have to maintain session for web services .

链接地址: http://www.djcxy.com/p/41160.html

上一篇: REST中的ST(状态转移)是否意味着状态必须由客户持有?

下一篇: 如何在cakephp的restful webservics中维护会话状态?