i have stored the session something like this in my AttendanceController attendance function
$message ='Upload in Progress';
$val4 =3436;
$count = count($data);
When i try to retrieve it in my Rfid vehicle controller vehiclelistcreate function like this
$selectedRecordData = session('selectedRecordData');
dd(session('selectedRecordData'));
@Snapey still it is not working man i dont know where is the issue im getting but another controller is not accepting the session whatever i have stored in the attendance controller
@Snapey $upload = 'Upload in Progress';
\Log::info('Storing data in session:', compact('val4', 'count', 'upload'));
// Store data in the session
session()->put('StoreData', compact('val4', 'count', 'upload'));
\Log::info('Data stored in session:', session()->get('StoreData')); used put method but it is not receiving the data from the controller!..