There are two options that you need to worry about sessions. The first is the TTL for the cookie, the other is how old the session data file may be before it receives the garbage collected.
session.cookie_lifetime , , cookie, , . 0, , . 172800 .
session.gc_maxlifetime , , , , , .
ini , , , .
. PHP , GC , , session.gc_maxlifetime . , , PHP , /tmp, .