Welcome Guest, Not a member yet? Register   Sign In
Auth system problem...
#2

[eluser]Flemming[/eluser]
in your controller
Code:
$this->session->set_userdata('username','My Name');
redirect('/my/start/');
in your view
Code:
<p>user id: &lt;?=$this->session->userdata('username')?&gt;</p>

hope that helps! Smile


Messages In This Thread
Auth system problem... - by El Forum - 11-13-2008, 04:59 AM
Auth system problem... - by El Forum - 11-13-2008, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB