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

Hello, after hours of searching for solution I need your help. How to restore user session data by session ID in Laravel 4.2?

I switched to database driver thinking it would be easier to mange this however I'm not even closer. I tried to session_decode payload string or Crypt::decrypt it but it doesn't seem to be right method.

I appreciate any help.

Last updated 3 years ago.
0

Hello Sir,

Session::setId($sid);
Session::start();
return Session::get('username');
Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

kda2 kda2 Joined 18 Sep 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.