mercredi 2 mai 2018

How to modify a session by its id in Laravel 5.5 using Redis driver

Let's say I have a session id:

nZYhZHwQmkRVIgmsSOHRiftp5gCWOVimPTLx8QkO

Which is stored in Redis as:

laravel:nZYhZHwQmkRVIgmsSOHRiftp5gCWOVimPTLx8QkO

I would like to get the session and modify some of its data. Something like this:

SessionManager::getSession($sessionId)->put('someData');



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2rc0rMb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire