|
Most interesting tasks
1. User clicks link on main website to access "references" directory (I will set up that link of course)
2. User must login or register to gain access.
3. To register, user enters First Name, Last Name, email address, username and password. (I think that is all that we need, but if I want to add more fields later I hope it is easy to do)
4. When they click submit their information, the following sub-routine takes place:
A. Registration info is stored in a temporary place with an access status of "false"
B. The existing MySQL database of customers is checked to see if we have had any contact with the user in the past.
C. If yes
i. The user's records are returned from the MySQL customer database to the subroutine
ii. The owner of the web site is sent an email with the user's existing DB record and 2 links
b.approve access
b1. Email sent to user with the username and password they had provided to access the
references directory
b2. Time limit is set to 30 days.
c.deny access
c1. User is sent email with info they can use to take the needed action for access to be granted
D. If no existing customer record is found in the MySQL DB, "false" is returned (indicating "no record found").
i. User is sent email with info they can use to take the needed action for access to be granted
Note: if the user has been approved for access, we must be sure to check that access has not expired and prompt them to reapply if the time is up.
next ::
|