3
How to extend a session in PHP using . htaccess?
I used this code below:
php_value session.cookie_lifetime 28800
php_value session.cache_expire 28800
php_value session.gc_maxlifetime 28800
However I believe that it has not worked, alias, has to check if the session I started is with this expiration time?
What would be the default session (cookie) expiration time?
I believe that the *.cache_expire code chunk has nothing to do with the session, I can remove from the code?
i found this example https://stackoverflow.com/questions/6075770/php-session-timeout, which is more or less like yours, according to the guy, you should add only php_value Session.cookie_lifetime 18000 and php_lifetime value Session.gc_max18000. About the default cookie time I don’t know how to answer.
– Gabriel Lucchese