Are PHP sessions automatically destroyed after the browser is closed, or do they stay on the server for ever, and are later accessible by the Server Cookie Id? (in case you do not destroy them before the browser exit).
Are PHP sessions automatically destroyed after the browser is closed, or do they stay
Share
Sessions are deleted by Garbage collector. Lifetime can be adjusted by
session.gc_maxlifetime. See also this