bsoetaer / CMPUT391Project

0 stars 0 forks source link

Login #20

Closed bsoetaer closed 9 years ago

bsoetaer commented 9 years ago

Login page, logout page, home page, Site navigation bar, change personal info, sessions.

Most important things are: the sessions which store client specific info (user_name, first_name, last_name, class, person_id) and expire after 30 minutes that need to be checked for expiration. I do this by checking if the person_id attribute is still part of the session, if it isn't it redirects to the home page.

The navigation bar which displays links to other modules based on user class. This requires the html style that is in the header. It also takes a little java (jsp) code to determine the user's class and conditionally add links. If we add this navigation bar to all the web pages we should be able to easily navigate around the site. Alternatively the other moduls could just have a single link that returns to the home page.

bsoetaer commented 9 years ago

Note there are TODO's in all the pages that contain the navigation bar as they need to be properly linked to all other modules.

bsoetaer commented 9 years ago

Oh, I also added context.xml to the gitignore. Not sure if I did it right but i don't think we really need to change it unless we run into a point where we do. I did it just because otherwise we commit our db passwords by accident.

For example I now have to try and forget vincent's db password lol.