Welcome Guest, Not a member yet? Register   Sign In
Session Destroy and Flashdata
#1

(This post was last modified: 10-30-2021, 03:18 AM by donpwinston.)

When I execute a 
Code:
$session->destroy();
$session->setFlashdata('msg', 'Hello');
return()->redirect()->to('/');

The flash data is not available on the redirected page. Why?
Simpler is always better
Reply


Messages In This Thread
Session Destroy and Flashdata - by donpwinston - 10-30-2021, 03:17 AM
RE: Session Destroy and Flashdata - by InsiteFX - 10-31-2021, 01:16 AM
RE: Session Destroy and Flashdata - by manager - 10-31-2021, 09:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB