Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

set session after login with laravel

    $user = Auth::User();
    Session::put('user', $user);
    $user=Session::get('user');
    return $user->name; 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #session #login #laravel
ADD COMMENT
Topic
Name
7+6 =