php设置会话session登录过期时间 php设置会话session登录过期时间 看到:session.gc_maxlifetime=1440,即为session的默认有效时间 单位是秒 1440秒=24分钟 7200=2小时 3600=1小时