So the next article in my “Back to Basics” series is all around creating PHP sessions, however with a slice of difference by utilizing ajax and jQuery to seamlessly create them.
PHP Sessions
PHP Sessions are used to store information about your users, which you can carry from page to page without doing much at all. You can use them to manage logged in users quite efficiently by checking if a session exists for that user or not. To create a session you do the following:
session_start(); $_SESSION['username'] = "steve"; $_SESSION['uid'] = "123456";




