Accessing Session Values Laravel
User $request->session()->regenerate(); Session::put('user',$request->email); Session::put('loggeduid',Auth::guard($this->guard)->user()->id); how to get session values in other controller Assistant To access session values in another controller in a Laravel application, you can use the `session()` helper or the `Session` facade. Here’s how you can do it: ### Using the `session()` Helper You can retrieve session values using the `session()` helper like […]