Welcome Guest, Not a member yet? Register   Sign In
Specifying Session Database
#3

[eluser]bernstable[/eluser]
Thanks for that Aken.

I have tried 'changing $this->CI->db to your own DB variable' but bizarrely whatever I try it always just uses the database that was last used prior to the session being referenced.

Is there something I'm missing with the way that the session library uses the active record class (as that is what it uses, personally I prefer long hand querying so I have little experience of active records)

Unfortunately, changing the default database isn't an option.


Messages In This Thread
Specifying Session Database - by El Forum - 11-06-2012, 11:27 PM
Specifying Session Database - by El Forum - 11-07-2012, 01:43 AM
Specifying Session Database - by El Forum - 11-07-2012, 03:59 PM
Specifying Session Database - by El Forum - 11-07-2012, 06:18 PM
Specifying Session Database - by El Forum - 11-07-2012, 07:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB