Windwalker Session package
composer require windwalker/session ^4.0Session::regenerate()and both bridges delete the previous session by default. Native bridgerestart()also deletes the previous session by default. PassdeleteOld: falseexplicitly only when retaining the old ID is intended;Session::fork()preserves its source session.- Filesystem, database and PDO handlers reject expired sessions when reading, even before garbage collection runs.
The idle lifetime in seconds comes from the handler's
gc_maxlifetimeoption, falling back to PHP'ssession.gc_maxlifetimesetting. Refreshing the timestamp extends the idle lifetime; this is not an absolute login timeout. - Redis writes and timestamp updates use the handler's
ttloption, then itsgc_maxlifetimeoption, then PHP'ssession.gc_maxlifetime. The selected TTL must be a positive integer; integer strings are supported.