How to add the message with a redirect?

Topics from the video:

– The session is used to transfer messages from one page to another
– The session_start() function and $_SESSION global array variable to set messages
– How to pass validation messages and show it inside the user register form
– How to render errors in the form