class PaymentGatewayController1 extends Controller
{
public function getPaymentGatewayResponse(Request $request)
{
$input = request()->input();
Session::put(['email' => $input['email']]);
Session::save();
return view('elements.blocks.iframe2', ['response' => $input]);
}
}
Now I need this session value to another controller
class CheckoutController extends Controller
{
public function store(Request $request)
{
$input = request()->all();
$data = $request->session()->get('email');
dd($data);
}
}
it returns null value
Laravel Version 5.8
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3eq8V89
via IFTTT
Aucun commentaire:
Enregistrer un commentaire