Welcome Guest, Not a member yet? Register   Sign In
Access to ci session data from external app?
#1

[eluser]tobefound[/eluser]
Hi,

I have integrated a forum (phorum.org) in my CI driven web site and all is working quite fine. However, I'm struggling with the fact that I don't know how to access my ci session data from with phorum...? For instance, I would like to redirect users to the front page if they try to access the forum page without being logged in (I'm using Tank Auth as auth system which writes it's data to ci session database).

I'm thinking, is there a way to externally access a CI object that corresponds to the $this object commonly available to the controllers? That way I can access the Tank Auth user methods...

/Tommy




Theme © iAndrew 2016 - Forum software by © MyBB