0
How do I persist the user login session even when the application "crasha" and comes back again. Currently when the server gives some unexpected error I go there fix the error and saved, then the server restarts and the user’s session dies or even when the application crashes and restarts alone.
I want something similar to Laravel’s Artisan...that when saved something in php it restarts the server but does not delete sessions.
If you restart the server, you will lose volatile memory. To persist the session after the server restarts, you need to save the session to a non-volatile memory. Memcached, Redis and even Mongodb are widely used for cashing.
– Andre
Thanks I’m researching here but it helped a lot thanks! XD
– Lucas da Silva Santos