Cookies are NOT disabled in browser.
Unable to save user login session
I tried multiple ways, but then on every login, no session is saved. Apart from auth session, normal custom sessions are working. Struggling with login session.
Experts any help plz....
Below are details of Logincontroller:
class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |-------------------------------------------------------------------------- | | This controller handles authenticating users for the application and | redirecting them to your home screen. The controller uses a trait | to conveniently provide its functionality to your applications. | */
use AuthenticatesUsers;
/**
* Where to redirect users after login.
*
* @var string
*/
protected $redirectTo = '/';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest')->except('logout');
}
public function logout() {
Auth::logout();
return redirect('/');
}
Below is http/kernal file :
Please or to participate in this conversation.