App::import(‘Component’, ‘SessionComponent’); $session = new SessionComponent(); $auth = $session->read("Auth.user");
$auth=$_SESSION['Auth']['user'];
No comments:
Post a Comment