V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiaoyanbot
V2EX  ›  问与答

请教 PHP 的 session gc-maxlifetime 设置的过期时间,是依据 session 文件的访问时间(atime),还是修改时间计算的呢?

  •  
  •   xiaoyanbot · Dec 14, 2021 via Android · 897 views
    This topic created in 1596 days ago, the information mentioned may be changed or developed.
    xiaoyanbot
        1
    xiaoyanbot  
    OP
       Dec 14, 2021
    已经搞明白,是的
    xiaoyanbot
        2
    xiaoyanbot  
    OP
       Dec 14, 2021
    是按照 mtime 来的,每次读,runtime 会更新修改时间
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:19 · PVG 06:19 · LAX 15:19 · JFK 18:19
    ♥ Do have faith in what you're doing.