Cookies and Sessions in PHP

by Annapurna Agrawal

This course will teach you how to create, efficiently use, and effectively destroy cookies and sessions in PHP.

What you'll learn

Learning about sessions and cookies in PHP is finally easy! In this course, Sessions and Cookies in PHP, you’ll learn to remember the user preferences and personalize the browsing experiences on your application. First, you’ll explore the ins and outs of cookies in PHP. What they are, how are they used to save user data and what are the pros and cons of cookies. Next, you’ll discover the alternative to cookies, i.e. the sessions. You will see how the session is more secure as compared to cookies. Finally, you’ll learn how to use cookies with sessions. When you’re finished with this course, you’ll have the skills and knowledge of using cookies and sessions in PHP needed to remember the user data, preserve their state, and give a personal touch for the users in your application.

About the author

Annapurna is a full stack developer, who has now been playing around with Kotlin, PHP, jQuery, CSS, and HTML. She is a software engineer from India and likes teaching and has years of experience in web and mobile development. She is one of the trainers in the Google Developers Group at Bhubaneswar, Odisha in India and also the lead of the Google WomenTechMaker Group Bhubaneswar. Besides all this, she practices yoga and meditation, YouTubing, and hanging out with friends. You are definitely going... more

Ready to upskill? Get started