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

try this where "1" is the index

Session::pull('name', 1);
Last updated 7 years ago.
0

Well, thanks, but I tried using the index and still get the same results. It appears that the session variable gets destroyed and the array is lost. Any other suggestions?

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.