Support the ongoing development of Laravel.io →
posted 7 years ago
Session
Last updated 2 years ago.
0

sessions are only available for one redirection. if you want to make them available for more, you can re-flash them: session()->reflash();

0

@aboelmor Session are for multiple redirections the first sentence of the introduction in the session documentation is: 'Since HTTP driven applications are stateless, sessions provide a way to store information about the user across multiple requests.' I think you are thinking of flashing data which is only stored for the next request.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ronfellows ronfellows Joined 27 May 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.