Level 14
$request->user()->id or auth()->id()
Summer Sale! All accounts are 50% off this week.
I've seen this here:
https://stackoverflow.com/questions/16812747/how-can-i-get-the-session-id-in-laravel
$session_id = Session::getId();
It works to get the session ID, but not the session USER ID.
Please or to participate in this conversation.