User activity monitoring
All files are located in the subdirectory of the project. The project should function as specified: When you visit the Personnel form page (frmPersonnel.aspx), a record should be saved in the tbl User Activity table with the IP address, form name accessed (from Personnel), and the date accessed. When you click the “View Activity” button, you should see at least one record with this information. When the user goes to the from Personnel web form and enters data the following business rules are to be enforced:
- Fields may not be empty or filled with spaces. If any field is empty, turn that field background color to yellow and add to/create an error message to be shown in the error label.
- The end date must be greater than the start date. If the end date is less than the start date turn both date fields yellow and add to/create an error message to be shown in the error label.
If all fields validate properly, then the session state items should be set properly and the user should see the from Personnel Verified form with all the values displayed. You will also add a new item to from Main that will take the user to the new from User Activity form you added. Add the proper link and a hyperlinked image to allow the user to select this new option. Once you have verified that everything works, save your website, zip up all files, and submit in the Dropbox.