Welcome Guest, Not a member yet? Register   Sign In
Best practice for loading config items from DB
#1

[eluser]George36[/eluser]
Hi Folks,

I'm developing a web site using CI which shows a different template and content depending on the header URL.

I want to store these config items in a database, and then to have them loaded into the config array once when a session starts.

Because some of these config tems are long (api urls, etc) and there are about 30 of them, i'd rather not store the config info with the session data or in cookies.

Can anyone suggest a nice way of doing this?

Many thanks

George


Messages In This Thread
Best practice for loading config items from DB - by El Forum - 02-01-2010, 08:38 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 08:50 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 09:00 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB