session

How Session Works and How to create it PHP, MySQLi

Submitted by nurhodelta_17 on
This tutorial will teach you basic knowledge about php session and an example on how to create one. A session is a method used to store data in a variable that can be used in all pages in a website/php program. Most of the time, sessions are used to determine the user that access that system. In this tutorial, I will give you an idea on how to create a session to determine the user upon login

How to Create Login Page in PHP and MySQL with Session

Submitted by GeePee on
How to Create Login Page in PHP and MySQL with Session In my previous tutorial called "How to Create Secure Login Page in PHP/MySQL", I explain on the three ways on how create a login page using PHP/MySQL. This time, I will add more functionality on this tutorial. We will add session so that we will know if the visitor has logged in on our site or not. In PHP, there is a variable called $_SESSION. Session allow you to store information and used it in any pages that you like.

Social Networking Site: Login Page

Submitted by GeePee on
This tutorial is a continuation of our project called “How to Create a Social Networking Site Tutorial”. At this time we’re going to focus on creating login-logout system in a secure way using session. Logging in or signing in or on is the process by which individual access to a computer system is controlled by identifying and authenticating the user through the credentials presented by the user. To start in this tutorial, let’s create first a new PHP file called “session.php”. Then save it inside the inludes folder.

Improved and Still Simple Login and Logout using PHP

Submitted by jmmaguigad on
Try this out, this is still a Simple Login and Logout and Viewing of data in a database in PHP BUT it also stretch its scope to cookies. I've included cookie for educational purposes and for those who want to be educated about it. how to run it: 1. first you need to extract the sample.zip. 2. put the folder in the htdocs folder of your xammp folder. 3. import the sample.sql in your phpmyadmin. 4