Issue while setting "ALLOW_SESSION_FOREVER" environment in .env file


As per the instruction in other topic i have set the “ALLOW_FOREVER_SESSION” to true and then run the “php artisan cache:clear” command as well as also cleared the system wide cache from the admin . After that when i tried to print the environment using the “http://{my-host}/api/v2/system/environment” is still showing false. HELP ?

@Karvin_Shah try running the following command php artisan config:clear and then run php artisan cache:clear . After clearing the cached config do a GET http://{your-host}/api/v2/system/environment and check if the “ALLOW_FOREVER_SESSION” is true.