1
The modules I am adding to my XOOPS site connect to another database to pull their data. Everything in that database is referenced by a 'RepNumber'. I need to set that RepNumber as a session variable. I map it by the XOOPS user email, which are common fields in the 2 databases. Where is the best place to do this? I have the bonding code in the /include/checklogin.php file now, but it seems that the variable is missing at times based upon how I enter the site. Where is the best place to place my bonding code for this?