Problem statement:- We are running a laravel application and receiving requests from worldwide. We want to rate limit API so only one session per IP address should access the application. Another session request should show a prompt for previous sessions in progress and does not allow new sessions.
A button to continue the second session and close the previous session, the previous session on the browser window should be closed.
In Laravel Code How can i do this so one session per IP address using rate limit.