Question 1

Create a login page for your web site. The page should have the following controls (all controls must be appropriately labeled):

  • User Name text box
  • Password text box
  • Submit button
  • Clear button

When the user arrives at the login page check to see if the login cookie exists on the client's hard disk. If the login cookie exists then read the value of userName and password from the cookie. If the user name is Joe and password is Doe then automatically log the user into the web site and direct them to the login confirmation page. If either the cookie does not exist or it does not contain appropriate value for user name and password then display the login page. Now, when the user clicks on the submit button after filling in the user name and password fields, verify that the user name is Joe and password is Doe. After verification save the user name and password in a client side cookie and redirect the user to login confirmation page. Create an appropriate header for the web page and add graphics to make the page look professional. Set the default focus of the form to User Name text box and default button to Submit button. Set the autocomplete attribute of the form to off so that the user name and password is not saved by the browser.

Question 2

Create a Personal Time Off (PTO) request form for ACME, Inc. web site. Applying for PTO is a three step process. In the first step the user enters their name, employee ID and supervisor's name. In the second step the user enters the starting date of PTO (use calendar control), ending date of PTO, and type of PTO (Vacation, Sick, or Personal). In the last step the application will display the confirmation message. The confirmation message will be: "Name, your request for numberOfDays type days has been received and has been forwarded to supervisorName for approval". Where the name is the name of the user, numberOfDays is the end date - start date + 1, and supervisorName is the name of the supervisor. Make sure that you include data Validation controls and appropriate error checking in your code (for example: end date cannot be before start date). Create separate web pages for each step. Use session id to keep track of the session. Use session state to save session data. Create an appropriate header for the web page and add graphics to make the page look professional.

Question 3

Create a personal web site with the following web pages:

  • Home Page which will contain your background and history
  • Favorite Web Sites Page with links to your favorite web sites
  • Favorite Books Page with list of favorite books
  • Photo Album with family photos (or just random images)
  • Guest Book where visitor can leave comments about your web site
  • Configuration Page from where visitors can select a them to be applied to the web site. Save the selected theme in a cookie so that it is automatically applied to your web site when they visit the web site in future.

Use master page and theme to give a consistent look to your web site.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.