CIS 223



 CIS 223 Lab Assignment #9
(Chapter 9)
 Complete the Hands-On Project 9-2, Project 9-3, and Project 9-4 from page 667 to page 674. You should use Microsoft Internet Explorer to test this homework. Google Chrome will not work for the cookie in this homework.
After completing Project 9-2, open the index.htm in a browser. In the username box, type your email address, and then click the Login button. The result.htm page, containing the text “Login successful,” is displayed because this page is specified in the form’s action attribute.
Return to index.htm in your browser, and then shift-refresh or shift-reload the page. Even though you reloaded or refreshed the page using Shift to clear the form, when the page finished loading, the code you created populated the Username field with the username stored in a cookie. Debug your code as necessary until it functions correctly.
Continue to work on Project 9-3.
After completing Project 9-3, open the index.htm in a browser. In the Username box, type your email address, click the Remember me box to check it, and then click the Login button. The result.htm page, containing the text “Login successful,” is displayed. Because you checked the Remember me box, the browser also stored a cookie containing your username.
Return to index.htm in your browser, and then shift-refresh or shift-reload the page. The code you created populated the Username field with the username stored in a cookie. Debug your code as necessary until it functions correctly.
Ensure that the Remember me box is not checked, click Login to open the results.htm page, return to the index.htm page, and then shift-refresh or shift-reload the page. Because you last submitted the form with the “Remember me” box unchecked, the code you created deleted the cookie, and the Username field is blank. Debug your code as necessary until it functions correctly.
Continue to work on Project 9-4.
After completing Project 9-4, make sure you follow the step 8 to step 12 closely to verify that the 2 minutes expiration is applied to the cookie. Debug your code as necessary until it functions correctly.
 Zip all the files in the Project 9-4 folder including .htm files, .js files, and .css files into 1 zip file.
Submit the zip file to the iCampus site.