What is the best way to get the current visitors session id in Kohana v3? session_id()
doesn't seem to work and only returns null for me..
At the moment Im using cookie::get('session')
, but that doesn't work on the first time you access the site, which I need to do.
I know you could do $this->session->id()
in Kohana v2, but that doesn't seem to exist in KO3...
Thanks