Support the ongoing development of Laravel.io →
posted 11 years ago
Session

Hi all, I have created a class that I reference a as controller helper to further split out business logic code and it seems when I use the put method of the Session facade it does not actually put data into the session. I am using Laravel 4.1.11 and if I am forced to put all of my business logic that used facades into my controller it is going to be a horrible mess. I have tried assigning the session as a property of the controller and then inserting the controller instance into the helper for reference, but this seems to do no good. Is there an issue with sessions used outside of the controller? I am using Redis for my session store.

Last updated 2 years ago.
0

can you post some sample code?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dlabey dlabey Joined 6 Feb 2014

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.

© 2025 Laravel.io - All rights reserved.