Results 1 to 2 of 2

Thread: User authentication "framework"

  1. #1
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default User authentication "framework"

    Can anyone recommend, or suggest way of writting, a "framework" for user authentication- I know the basics, though I'm not really familiar with session management.

    The parts I know is the way of storing and getting user authentication (both DB- MySQL based, or - in this case most likely- file based), however I've never wrote a working engine, that would keep the user logged in. I know that I can store a cookie with login-time and IP, and session name client-side, and refresh it with each subsequent request user makes- unless the cookie expires before. But how to get/store session name server-side? Never done that before... and the above suggested method IMO seems vunerable to session-hijaking.

    Any thoughts/suggestions on how could that be done good, and in a simple way?

    Rambo

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Have you looked at the PEAR Authentication package?

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •