Homework, Year 2

Welcome back! To refresh your web server development skills, you should create this simple web application.

If you need a reference, use the web reference that's linked on the homepage
of this site.

1. Create a new web project or erase the code from your current project

2. Set up the server so that it has two pages,
/home and /secretpage. The secretpage should just send out 123

3. Next make /home send out a page with one input, for a password (as well as sumbit button).

4. Now, make it so that when the correct password is submitted, it
redirects the user to the /secretpage

Finally, if you got this far, there is one more step you could take to secure your site.

The final step would be to give a cookie to the user that will allow them to see /secretpage. Right now they could just type in
/secretpage and bypass the login. Fix that!

Copy and paste your code into an email.