Welcome Guest, Not a member yet? Register   Sign In
How to Retrieve session id
#7

You need to set the sess_save_path

Create a folder named writable in ./application folder.

./application
-- writable

Then setup your sessions like below.

PHP Code:
$config['sess_driver'            'files';
$config['sess_cookie_name'       'ci_session';
$config['sess_expiration'        7200;
$config['sess_save_path'         APPPATH.'writable';
$config['sess_match_ip'          FALSE;
$config['sess_time_to_update'    300;
$config['sess_regenerate_destroy'] = FALSE

Hope you get it now...
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 Retrieve session id - by Pankaj Kumar - 03-09-2018, 03:20 AM
RE: How to Retrieve session id - by donpwinston - 03-09-2018, 10:11 AM
RE: How to Retrieve session id - by InsiteFX - 03-09-2018, 01:50 PM
RE: How to Retrieve session id - by Pankaj Kumar - 03-14-2018, 03:14 AM
RE: How to Retrieve session id - by danielcr_2018 - 03-14-2018, 05:26 PM
RE: How to Retrieve session id - by Pankaj Kumar - 03-15-2018, 04:31 AM
RE: How to Retrieve session id - by InsiteFX - 03-15-2018, 06:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB