05-04-2023, 03:18 AM
Hi Ioan,
This was something that I considered while I was developing it. The general way to handle this is to save a second cookie in the browser and save the user data on your server (it could be even a local file but ideally in your database). This cookie has a much longer expiration date, let's say a few days. If the cookie exists when you receive the first request, you should use it to retrieve the user information on the Database and bypass the login altogether.
I'll see if I can put together some code to show how it is done.
This was something that I considered while I was developing it. The general way to handle this is to save a second cookie in the browser and save the user data on your server (it could be even a local file but ideally in your database). This cookie has a much longer expiration date, let's say a few days. If the cookie exists when you receive the first request, you should use it to retrieve the user information on the Database and bypass the login altogether.
I'll see if I can put together some code to show how it is done.

