Write down the user’s browsing address and put it in a cookie or session. When the user returns to the login interface, the controller determines whether the user is logged in. If not logged in, the login page will be returned. If the user is logged in, the redirect will be redirected to the URL stored in the cookie or session.
Write down the user’s browsing address and put it in a cookie or session. When the user returns to the login interface, the controller determines whether the user is logged in. If not logged in, the login page will be returned. If the user is logged in, the redirect will be redirected to the URL stored in the cookie or session.