Hi All,

In cakephp 2.1, I am developing a cakephp application , also web service
for third party application to access data. Output is json.

First time when user logs in through web service we create some
authentication token and for every next call client will send the
authentication token and I have to check authentication token available to
allow other actions of app.

I wrote a login function. when user tries to logs in , it returns success
or failure message. This is where I stuck. How to create this
authentication token? Where does cakephp store user related session? Can I
write session like

> $this->Session->Write('check.session','random string')

and then read it in second client call using

$this->Session->read('check.session').

Or is there any other better way to achieve this.

-- 
*Thank you,*
*Kiran.*

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to