I'm curious about what will happen if I don't limit the session time out.
Will it affect the server?
is it considered as bad practice? if yes, why?
thank you. :)
There's a session garbage collector than normally runs periodically and cleans up old sessions. There are php.ini
parameters that control how old a session has to be deleted.
How the PHP Session Garbage Collector Really Works
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With