Answer the question
In order to leave comments, you need to log in
How to pass variables from HTTP_REFERER to REQUEST_URI?
Good afternoon forum users! In general, let's say we are in a personal account (url: "/cabinet"). Then click on "Logout" and go to the page with the url "/logout". All sessions and cookies are reset there, then it redirects to the login page with the url "/login".
How to make it so that when opening the /login page, the user will see the notification "You have successfully logged out of the account" or, if an error occurs, the desired error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question