
This script lets a user login, then it tracks that user and controls the areas they can access. When the user runs across an area they don't have proper permission to access they are forwarded to a page to register. It works well if you want to embed a login into a page and track and identify a specific user throughout the site. This code covers the login and tracking portion for my visitor. You can also read up on how I implemented the registration section.
|