Home > Article > Backend Development > PHP separates the front-end and back-end. How to transfer the username of the login page to the page entered after logging in?
The front-end and the back-end are separated. The front-end only allows html css javascript, and the back-end only allows php, and no mixing is allowed. So how to transfer the data of the login page to the hmtl page entered after logging in?
The front-end and the back-end are separated. The front-end only allows html css javascript, and the back-end only allows php, and no mixing is allowed. So how to transfer the data of the login page to the hmtl page entered after logging in?
The backend returns the SessionID and uses JS to update the Cookie
Just use ajax