Welcome Guest, Not a member yet? Register   Sign In
How to reuse an established DB connection in an another controller ?
#1

[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


Messages In This Thread
How to reuse an established DB connection in an another controller ? - by El Forum - 03-02-2009, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB