Uploaded June 2021 | Updated November 2026, 3 hours ago
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: patreon.com/programwithgio
THANK YOU!
LESSON 2.25
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/reserved.variables.session.php
php.net/manual/en/function.session-start.php
php.net/manual/en/reserved.variables.cookies.php
php.net/manual/en/function.setcookie.php
php.net/manual/en/book.outcontrol.php
php.net/manual/en/function.header.php
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
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: patreon.com/programwithgio
THANK YOU!
LESSON 2.25
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/reserved.variables.session.php
php.net/manual/en/function.session-start.php
php.net/manual/en/reserved.variables.cookies.php
php.net/manual/en/function.setcookie.php
php.net/manual/en/book.outcontrol.php
php.net/manual/en/function.header.php
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










