protected function getSessionId(Request $request, SessionInterface $session)
    {
        $name = $session->getName();

        return $request->cookies->get($name);
    }
protected function getSessionId(Request $request, SessionInterface $session)
    {
        $name = $session->getName();

        return $request->cookies->get($name);
    }
protected function getSessionId ( Request $ request , SessionInterface $ session ) { $ name = $ session -> getName ( ) ; return $ request -> cookies -> get ( $ name ) ; }
Get the session ID from the request.

@param  \Nova\Http\Request  $request
@param  \Nova\Session\SessionInterface $session
@return string|null
Get the session ID from the request .