[eluser]Unknown[/eluser]
I'm just asking if this is possible.
Here's the situation:
I have 2 controllers: user.php and home.php
My user.php controller has 2 methods/functions: login() and loginSuccess()
to shorten things up, I would want my loginSuccess() method to access the home.php controller because whenever it successfully logs in, loginSuccess
only loads the view, but does not access the home controller which makes the URI still on user/loginSuccess.
Problem is, I don't know how to do it since I don't know if you can load controllers like $this->load->controller('home').
Does anyone know how to do this? Or is it even possible accessing another controller from another controller? Thanks!