Re: [Phplib-users] phplib: dynamic page_open values
Brought to you by:
nhruby,
richardarcher
|
From: Richard A. <rh...@ju...> - 2002-04-30 21:46:33
|
At 2:32 PM -0500 30/4/02, David Glenn wrote: >I have a problem I haven't cracked yet. I have a centralized site (one >complete set of php pages) that will be used by many client groups, each >of which need to access their own database (each database with its own >phplib auth table set as well as application data). So it would seem if >I could call page_open with a pertinent key value and then set the >sess/auth/perm values dynamically on each page I would be on my way. > >I can call an initializer page with a name/value of the key value, and >then it would be great if that was stuck in a session for each page to I'm not sure I fully understand your problem, but could you use session's $auto_init = "setup.inc" feature to import this key/value into the new session? If that's no good, please describe this "pertinent key value" for me :) ...R. |