Question and answer is powered by AnsPress.io
I need help, when I am checking login data, if match data then redirect onather page and put data in a session variable, I don’t know how to use it, please help with code
at first store data in a variable which you want to set in session variable then put value in a session variable. use this code
Session::put(‘user_id’, $user_id);