Course info
Feb 16, 2021
2h 6m

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
About the author

Annapurna is a full stack developer and has experience in Android App and web development. She likes sharing knowledge so that the developers around get boost for their passion.

More from the author
PHP Design Patterns
1h 19m
Feb 14, 2020
Android: SQLite Fundamentals
1h 59m
Nov 25, 2019
More courses by Annapurna Agrawal
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Annapurna Agrawal, and welcome to my course, Cookies and Sessions in PHP. Cookies and sessions are an integral part of web applications. They are helpful in maintaining the state of an application and remembering the user while he uses our application. But the issue arises when the developers fail to understand the difference between them. In this course, we are going to see how different they are and how to work with both of them together to use them to the fullest. Some of the major topics that we will cover include how cookies came to picture. We will then see what are sessions and how they overcome the shortcomings of cookies, differentiating between cookies and sessions, and then, finally, we will learn about session security. By the end of this course, you will know what exactly cookies and sessions are and how using it efficiently can enhance user experience of our application. Before beginning the course, you should be familiar with the basics of PHP, and you should have a basic understanding of working with databases in PHP. I hope you will join me on this course to learn about these web elements with the Cookies and Sessions in PHP course only at Pluralsight.