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.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea27c2-1bd8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea27c2-1bd8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?