CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


WordPress Cookies and PHP Sessions – Everything You Need to Know

  • Category : WordPress
  • Posted on : Nov 14, 2018
  • Views : 3,075
  • By : Yakov R.

Cookies were first invented in 1994 by a computer programmer named Lou Montulli. Without them, the web would be quite a different place. Whether your logging into the back-end of your WordPress site or closing an annoying popup window, you use and interact with cookies every day (even if you don’t realize it).

By now, you’ve probably guessed that when we refer to cookies, we mean the cookies used to store important visitor information on a website, not the yummy chocolate chip kind. ?

Today we’re going to dive into the sometimes confusing topic of cookies and PHP sessions. Specifically, everything you need to know about how WordPress uses them, along with some common issues that you should be aware of (especially as a developer) when it comes to hosting your website, custom code, or using a third-party plugin. In our opinion, this subject isn’t discussed enough.

Categories