magento 2 session timeout code example Example: magento2 set session timeout cia cli bin/magento config:set admin/security/session_lifetime 86400