Welcome Guest, Not a member yet? Register   Sign In
Sessions expiring after browser closes
#8

[eluser]visormatt[/eluser]
If you take a look at the sessions class documentation if you are loading it in your index() or controller function like the below line

$this->load->library('session');

then it is set to run automatically -> hence creating the session and maintaining from this point forward -> until you choose to destroy the session or the $config['sess_time_to_update'] has expired.

Another possibly is that your browser(s) are set to clear cookies when being closed or maybe just clearing browser history both of which may remove the cookies you have stored. Try setting the sess_time_to_update to 0 (no time limit) and then users will have the cookie stored until they have in some manner removed the cookie as mentioned above.


Messages In This Thread
Sessions expiring after browser closes - by El Forum - 11-09-2009, 06:13 AM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 06:30 AM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 07:09 AM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 10:52 AM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 12:05 PM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 12:17 PM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 01:00 PM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 01:24 PM
Sessions expiring after browser closes - by El Forum - 11-09-2009, 02:21 PM
Sessions expiring after browser closes - by El Forum - 11-10-2009, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB