user data as a global array?
-
We have a site with 40k+ users, each of whom has a profile with about 40 pieces of information about them. At the moment for each page a user visits this info is collected from the db and used on the page’s plugin. (We have lots of small in-house plugins doing various things depending on their profile info.)
But would it be possible/faster/easier if we collected an array of profile info when a user logged in and passed it from page to page (i.e. plugin to plugin) using a global array variable?
Or perhaps keep it always at hand using some other system?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘user data as a global array?’ is closed to new replies.