• 请不要在回答技术问题时复制粘贴 AI 生成的内容
xoxo419
V2EX  ›  程序员

laravel command 下如何获取 session?

  •  
  •   xoxo419 · Mar 7, 2018 · 1684 views
    This topic created in 3031 days ago, the information mentioned may be changed or developed.

    laravel command 下如何获取 session, 还是只能配何 redis 上才能在 command 模式下使用 session?

    关于此问题详细记录

    2 replies    2018-03-07 21:24:05 +08:00
    widdy
        1
    widdy  
       Mar 7, 2018
    少年,session 用来标识和存储对应客户端的信息的,cli 模式下,你都没得 client !
    abowloflrf
        2
    abowloflrf  
       Mar 7, 2018 via iPhone
    服务器你看谁的 session 啊。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 20:10 · PVG 04:10 · LAX 13:10 · JFK 16:10
    ♥ Do have faith in what you're doing.