Help with sessions?

#1
[eluser]JasonS[/eluser]
I want to create this.

session_start();

$_SESSION['access'] = $access;

I believe I have the second part down.

Am I right in thinking that this will set the session 'access'?

$this->session->userdata('access') = $access;

If that is right, is session_start on by default?


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.