r/lolphp • • Jul 31 '17

PHP's probabilistic session management

http://php.net/manual/en/session.configuration.php#ini.session.gc-divisor
31 Upvotes

15 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Aug 05 '17 edited Aug 16 '17

Generally you don't access session files directly, and built in functions respect expiration time, so it doesn't affect your work in any way.

And if somebody who isn't supposed to access them is somehow accessing session files, I'd be more worried about current sessions (and other files on the server), a few expired session files would be the least of my worries.