That should set the expire time that you want if it's not working then you may have a problem
some place else in the code or php.ini file.
Let me look at the session class and see what it is doing.
The expireation should be done on the session cookie to destroy the session if I remember right.
Note:
If expiration is set to 0, the session.gc_maxlifetime setting set by PHP in session management
will be used as-is (often the default value of 1440).
This needs to be changed in php.ini or via ini_set() as needed.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )