mercredi 3 octobre 2018

Get Laravel session data (Memcached) outside of Laravel

Is there a way to get session data stored by Laravel outside of Laravel when using Memcached as session driver? (Only one part of the project is written in Laravel)

For example I put something in the session with Laravel:

Session::put('name', $user->name);

How can I retrieve this from another script (not in Laravel)?

I know I need a key. I've searched in Laravel files how the keys for sessions in Memcached are being generated, however I could not find anything.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire