Authentication Suggestions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jordan Marton

    #1

    Authentication Suggestions

    Would you reccomend that I use the built in Forms authentication, or my own
    design?

    Basically, I need to restrict access based on the PAGE that a user is trying
    to view. Some pages are for all users, some for registered users, and some
    for admins. There is a login form on every page (while the user is not
    logged in) and I store a session variable for username. The session on_end
    clears the username session, therefore logging them out. I have a base class
    that has a restrict access sub and checks that with their username and
    usertype on each page. Is there anything wrong with this?

    Jordan


Working...