It is possible to save a "system message", and then redirect the user to another to display the message?
For example, I am using a custom connected account.
If the authentication fails at /connected_account.php, I want to redirect the user back to /login/ and then display the error message like "Invalid log-in, please try again later."
it's like saving a temporary message in session, once the message is flashed, it is removed from session.
For example, I am using a custom connected account.
If the authentication fails at /connected_account.php, I want to redirect the user back to /login/ and then display the error message like "Invalid log-in, please try again later."
it's like saving a temporary message in session, once the message is flashed, it is removed from session.