Help with sessions?

#2
[eluser]GSV Sleeper Service[/eluser]
CI sessions are different to standard PHP sessions.

When using CI sessions you will not need to use session_start, but you will have to load or autoload the session Library.

you'd use this to set a CI session var
Code:
$this->session->set_userdata('access',$access)
and this to read it back
Code:
$access = $this->session->userdata('access')


Messages In This Thread
Help with sessions? - by El Forum - 03-25-2008, 09:03 AM
Help with sessions? - by El Forum - 03-25-2008, 09:22 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.