Lab Assignment #5
Access via Login
Revised: 09 June 2009
"
Not everything that can be counted counts, and not everything that counts can be counted.
"
- Albert Einstein (1879-1955)
Requirements:
-
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.
-
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?