session.gc_maxlifetime is not the session end time after inactivity. gc here might be average junk. Since php manual says
session.gc_maxlifetime indicates the number of seconds after which data will be considered garbage and potentially cleared. garbage collection may occur during the session (depending on session.gc_probability and session.gc_divisor).
Note. If different scripts have different session.gc_maxlifetime values, but use the same place to store session data, then a script with a minimum value will clear the data. In this case, use this directive with session.save_path.
See the message for details.
Kris roofe
source share