Rectangle 27 0

security What is best way to save user's data to carry through the website pages in PHP?


As for cookies, please note that it gets sent back and forth with each request. I don't recommend using cookies, except maybe for session ID.

Save the persistent data (which need to be preserved even if user closes the browser) into database.

Note