HomePHP Building an E-Commerce Site Part 2: Managing Users with Sessions
Building an E-Commerce Site Part 2: Managing Users with Sessions
This is the second article in a three-part series dealing with using PHP 4 and MySQL to make a comprehensive e-commerce storefront solution. This article covers session management within the store, user privileges, and a few security concerns.
Welcome to Part 2 of the E-Commerce Step-by-Step Guide. In this installment, we will add the ability to manage users and, to track them with PHP4 sessions. After completing this installment, you will have:
created the underlying tables for user management;
created PHP scripts to add users;
created PHP scripts to edit users;
created PHP scripts to delete users;
created PHP scripts to let people sign up for accounts;
created PHP scripts to handle logins and logouts;
created PHP scripts to handle forgotten passwords.