03-02-2009, 07:25 AM
[eluser]FabD[/eluser]
Hi,
I'm a newbie in the use of MVC frameworks. I have choosen CodeIgniter for many known reasons.
From now on, I enjoy working/playing with it. But now serious things are coming and real questions too. I have a question wich may seems basic to many of you :
I have a 'main' Controller wich via a Login Model establish a connection to an Oracle DB, after few basic controls about the user.
How can I reuse the connection establihed in the main controller in an another controller ?
Must I redo a DB connection into that controller too ? Have I missed something ?
Thank for helping me,
Fab
Hi,
I'm a newbie in the use of MVC frameworks. I have choosen CodeIgniter for many known reasons.
From now on, I enjoy working/playing with it. But now serious things are coming and real questions too. I have a question wich may seems basic to many of you :
I have a 'main' Controller wich via a Login Model establish a connection to an Oracle DB, after few basic controls about the user.
How can I reuse the connection establihed in the main controller in an another controller ?
Must I redo a DB connection into that controller too ? Have I missed something ?
Thank for helping me,
Fab