when a user closes his browser, he usually lost the cookie that marks the session. but the file on the server is not deleted and remains there, useless.
Do I need to handle this? or is it a server business?
This is a server business. PHP has a garbage collector mechanism for them. See session.gc_probability , session.gc_divisor, and session.gc_maxlifetime configuration options.
Nope. You should never care about this - this is the php internals business.
Source: https://habr.com/ru/post/1762572/More articles:You should consolidate these database tables. - databaseSelect only the fourth Sunday of each month - c #Problem with programming ... Digit Sums - algorithmDatasnap vs SoapServer - delphiPhp mysql, help help help help - sqlCodeigniter _remap Function - urlЧто означает "цикл" в "loop device"? - c++Is it possible to call PHP_FUNCTION from the extension - phpExchange objects in an array - C # - objectHow to use the C ++ standard - c ++All Articles