how to set user logon session and validate

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

    how to set user logon session and validate

    Hi,

    I want to find out how do I display the user who logon to the webpage,
    such as, Welcome, xxxx! Also how do I validate against my user table
    in MySQL database whether the user is an existing user or new user.

    Will appreciate any information.

    Thanks.
  • Jedi121

    #2
    Re: how to set user logon session and validate

    "xo55ox" a écrit le 08/12/2003 :[color=blue]
    > Hi,
    >
    > I want to find out how do I display the user who logon to the webpage,
    > such as, Welcome, xxxx! Also how do I validate against my user table
    > in MySQL database whether the user is an existing user or new user.
    >
    > Will appreciate any information.
    >
    > Thanks.[/color]

    You'll need a form for the user to fulfill typically User and Password.
    Check this values against your DB values.
    If OK use Session or Cookie to store an ID and display the user name.
    If not display "Guest" or whatever even an "New user register here"
    page :)

    --
    Have you read the manual?


    Comment

    Working...