Closed mirzavu closed 8 years ago
Error fixed 1) Add Request to top of the class:
use Illuminate\Http\Request; 2) pass Request class object to controller
eg: public function index(Request $request)
3) Now set the session using
$request->session()->put('anykey', 'anyvalue');
$request->session()->put('key', 'value');
When i set session in the controller I get the below error
"Session store not set on request"