PHP session allows you to store user information on the server for later use (i.e. username, time,visited urls etc), this information is temporary and
will be deleted after the user has left the website.
To access session variable in cakephp... Go to controller in which you want to see session variable and add following two lines in code..
$session=$this->Session->read();
pr($session);
will be deleted after the user has left the website.
To access session variable in cakephp... Go to controller in which you want to see session variable and add following two lines in code..
$session=$this->Session->read();
pr($session);
No comments:
Post a Comment