I have a website that creates a shopping cart session.
$_SESSION['cart']=array();
It seems that the server automatically kills the session after an inactivity X-time, I assume it is set in php.ini (but my host does not give me access, they just let me inform them of the changes, so I can not play around! :( )
Is there a better way to keep sessions alive, for example, for 2 days or for a specific number of minutes / hours?
samyb8
source share