开发者

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 tra开发者_开发百科ck 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 .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜