Forum Moderators: coopster
So when users login, the session variables that are set right now are the uid and the username.
Once users login, they are able to create entries into a database. One of the columns in the database table is their uid, which identifies which entries they are allowed to modify/see. The entries all have a unique ID too (album id).
I need to set it so that the album ID's once they login are set into session variables. However, I'm having a hard time getting the session variables to set because I need to first filter users by their UID but in order to get their UID, I would need for them to login.
How would you guys go about solving this? Any help would REALLY be appreciated.
Best,
Chris