Lab Assignment #5

Access via Login

Revised: 09 June 2009
Lab #01 Lab #02 Lab #03 Lab #04 Lab #05 Lab #06 Lab #07 Lab #08 Lect #05

w3schools Programming XML DOM Microsoft XML Tutorial gotDotNet HTML Reference TopXML Lecture #5 Contents

image file not found


" Not everything that can be counted counts, and not everything that counts can be counted. "
- Albert Einstein (1879-1955)


Requirements:

  1. Build a login page that retrieves user ids and passwords from an XML file. Use a session variable to indicate whether current client is logged in.
  2. build a control that you could put on a page that you want restriced to logged in users. Have the control interrogate the session state to see if the current user is logged in. If not, redirect the user to your login page. Can you think of a way to easily put the login control on every private page?