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

[eluser]mattpointblank[/eluser]
Hi all.

Sorry - I know this topic comes up a lot, but I couldn't find any solutions in past threads.

I'm using the EckoSession library to store sessions in the database, but I don't think this is the problem. My config.php includes this code:

Code:
$config['sess_expiration']        = 1296000; // 15 days
$config['sess_encrypt_cookie']    = FALSE;

However, when I close my browser, the session information is forgotten.

I've seen people recommending how to set a cookie, but honestly, I'm unable to see how to make this work with my application. I wrote my own user authentication functions, but I don't really see how I can set a cookie and then automatically log a user in once they visit my site a second time after the cookie is set - isn't that what the sess_expiration config item is meant to do?!

Matt


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