Summary
Keywords
Full Transcript
In this lesson, you will learn about sessions & cookies along with output buffering & the explanation of the well-known & common warning message "headers already sent". SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL 👍 Smash the like button 🤝 Subscribe to the channel & turn the notifications on 💬 Post comments, any feedback is greatly appreciated ⭐ Become a Patreon: https://www.patreon.com/programwithgio THANK YOU! LESSON 2.25 Course Outline - https://github.com/ggelashvili/learnphptherightway-outline Course Playlist - https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe- RESOURCES https://www.php.net/manual/en/reserved.variables.session.php https://www.php.net/manual/en/function.session-start.php https://www.php.net/manual/en/reserved.variables.cookies.php https://www.php.net/manual/en/function.setcookie.php https://www.php.net/manual/en/book.outcontrol.php https://www.php.net/manual/en/function.header.php https://www.sitepoint.com/php-streaming-output-buffering-explained/ CHAPTERS 00:00 - Intro about sessions & cookies 00:36 - Starting sessions, output buffering & what happens when sessions are started after output 06:09 - Storing, retrieving, and deleting sessions & $_SESSION superglobal 09:19 - Cookies & $_COOKIE superglobal
