How to extract session from redis in laravel5.5

because of the need for sso single sign-on, different servers and the same domain name, the user center plans to develop with laravel, in which session is shared in redis. How to obtain session in laravel projects for other projects. Ask for guidance.

Mar.01,2021

has nothing to do with redis, as long as you set the driver of session to redis.
SessionManager unifies the usage. You can use the helper function session (''); just set the driver of


session to redis,. Note the cross-domain problem of setting domain,session. Refer to https://www.jianshu.com/p/bed.

.
Menu