Welcome Guest, Not a member yet? Register   Sign In
How to use session
#13

Here is how to autoload it in ./application/config/autoload.php

PHP Code:
/*
| -------------------------------------------------------------------
|  Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in system/libraries/ or your
| application/libraries/ directory, with the addition of the
| 'database' library, which is somewhat of a special case.
|
| Prototype:
|
|    $autoload['libraries'] = array('database', 'email', 'session');
|
| You can also supply an alternative library name to be assigned
| in the controller:
|
|    $autoload['libraries'] = array('user_agent' => 'ua');
*/
$autoload['libraries'] = array(
    
'database',
 
   'session',
); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
How to use session - by kris - 06-08-2017, 06:54 AM
RE: How to use session - by kris - 06-09-2017, 12:23 AM
RE: How to use session - by kris - 06-09-2017, 01:10 AM
RE: How to use session - by Krycek - 06-09-2017, 01:43 AM
RE: How to use session - by Krycek - 06-12-2017, 01:42 AM
RE: How to use session - by kris - 06-09-2017, 01:45 AM
RE: How to use session - by InsiteFX - 06-09-2017, 04:31 AM
RE: How to use session - by kris - 06-09-2017, 04:53 AM
RE: How to use session - by Krycek - 06-09-2017, 04:59 AM
RE: How to use session - by kris - 06-11-2017, 05:32 AM
RE: How to use session - by gabrielinbuon - 06-11-2017, 12:44 PM
RE: How to use session - by Diederik - 06-11-2017, 02:01 PM
RE: How to use session - by InsiteFX - 06-12-2017, 03:57 AM
RE: How to use session - by kris - 06-14-2017, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB