Welcome Guest, Not a member yet? Register   Sign In
codeigniter session
#1

[eluser]global_erp_solution[/eluser]
I'm creating a form to autenticate users. Now, in many tutorials there are two different approach. Some are using $this->session
Code:
$this->session->userdata('user');

while others use:
Code:
$CI =& get_instance();
$CI->session->userdata('user');

what's the difference between these two? any different effect or consequence for using each one? thanks.
#2

[eluser]Aken[/eluser]
Why are you asking this question again?

http://ellislab.com/forums/viewthread/221304/
#3

[eluser]global_erp_solution[/eluser]
oh yes, I forgot I asked this before. Please delete this thread. thanks




Theme © iAndrew 2016 - Forum software by © MyBB