i wrote similar code to yours on my fresh 5.2 and the session worked.
mine doesn't have that perm middleware so could it be something in there resetting/rewritting your session?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community