- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
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.
نام موضوع : Redirect then show a message?