![]() | Pepper Spray & Stun Gun Specials! KEEP THEM SAFE. | |
| CoverYourASP --> Adding member services | ||
| Implementing a membership system for CoverYourASP was simple in concept, but ended up touching a lot of pages, and created 10 new ones! Here's what I wanted, and got, from my system - I'll go through each one in the following pages: Members can register themselves via a form. Registering new membersRegistering a new user requires a straightforward form that adds a new record to the database.You can view the real source code here, but before you do, I should tell you that the same form is also used to edit existing member information too. A simple call to IsLoggedIn ( ) - a function defined in the utils/Login.asp file - allows me to tell which task I'm undertaking with the form. It also controls what action I'm taking in the database, as the excerpt below shows:
Having added the new member to the database, there is one more step the user must take before he can sign in... |
| |||||||||||||||||||||||||||||||||||||||||||||||||