Oct 7, 2016
0
Level 1
Session in Lumen 5.3
I am creating a backend for mobile app in same lumen 5.3. Can anyone know how to use session while redirecting the page in lumen. It shows blank every time.
if(Hash::check($request->password, $user->password)){
session_id($user->password);
$_SESSION['email'] = $user->email;
$_SESSION['user_id'] = $user->id;
$_SESSION['success'] = "Loggin Successfully";
return redirect('/dashboard ');
}
Please or to participate in this conversation.