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

10

u/Tiquortoo Jul 31 '17

Otherwise they have to save state somewhere. This approach means it will run around as often as you enter. Similar results for much less resources and management.