Currently my session.gc_maxlifetime
is set to default, thus 1440 seconds.
I would like to set the maxlifetime
to a month, 4*7*24*60*60 seconds. However, I've read on php.net that the maximum value of session.gc_maxlifetime
is 65535.
Is it therefor impossible to set my maxlifetime
to more than 65535 seconds?
yes it is possible, if you do self session handler
then PHP garbabe collector will not handle your sessions
session_set_save_handler()
see http://cz1.php.net/manual/en/function.session-set-save-handler.php
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