1 Reply Latest reply on Dec 22, 2008 1:36 PM by Günter Schenk

    Access Levels: How many can I have?

    Level 1
      I'm currently considering a couple of possibilities for a system for a client who runs a marketing company and he wants it where each of his clients has their own password protected page that lists only their information and only their information. I know you can set up access levels for the login and restrict access to area but can I set it up where if they've got let's say 50 clients, can I have it where each L/P takes you to the same php page with a different user_id which triggers data just for them?
        • 1. Re: Access Levels: How many can I have?
          Günter Schenk Level 4
          I think you´d better try allocating a record to a certain user_id to make such a clear distinction -- usually by storing the "kt_login_id" - Session Variable in an extra column of the "contents" table when inserting the record.

          Once this is set, you can easily provide one page which displays the matching contents using a query like this:

          "SELECT * FROM contents WHERE user_id" equals the kt_login_id Session Variable

          Günter Schenk
          Adobe Community Expert, Dreamweaver