Hello!
i have deployed a app in my vps but the problem is session data is not being saved nor the flash data,
i tried it on shared hosting it was working properly and i tried in localhost i worked ,
is there any configuration i have to do?
@mrphp you need to check, don't care if they work on a different type of host
you can also look closely at the response from the server in the developer network tools. does the response start as expected, eg <html or is there something before it?
Cookies are not being saved in the Browser. Domain looks like is set to localhost. (domain=localhost;)
Check your Network Tab by enabling preserve log.
You should set this env variable and also check App Url variable:
[2022-07-06 03:54:09] production.ERROR: Target class [session] does not exist. {"exception":"[object] (Illuminate\\Contracts\\Container\\BindingResolutionException(code: 0): Target class [session] does not exist. at /var/www/vhosts/crypton.cash/httpdocs/core/vendor/laravel/framework/src/Illuminate/Container/Container.php:879)