In CakePHP 3.2 I am using:
$userid = $this->request->session()->read('Auth.User.id');
I hope that's useful.
Paul.
On 4 February 2016 at 15:53, Vishwadeep Kapoor
wrote:
> Is there any way to get the value of the current login user in cake php, i
> have search for
Hi Priyatam Saha
Which version of CakePHP have you downloaded and installed?
Which tutorial have you followed?
Enjoy, John
On Sunday, 7 February 2016 18:48:33 UTC+2, priyatam saha wrote:
>
> Dear sir,
>I am a new commer to cakephp.I have download and installed cakephp.Now
> I create a app
Check that your user "user" has permissions to use the databases.
Enjoy, John
On Sunday, 7 February 2016 18:48:33 UTC+2, Douglas Diniz Landim wrote:
>
> It was a site that was running on a host.
>
> This accommodation accidentally got deleted the domain for the site.
>
> After restoring the
Is that the whole search method in your controller?
If yes, then the render call is inside the if statement at the beginning
and will thus not be invoked due to the return statement just after the if
statement.
Enjoy, John
On Saturday, 30 January 2016 06:32:22 UTC+2, Maxwell Ochieng wrote:
>