Welcome Guest, Not a member yet? Register   Sign In
Session Auto Logout
#1

[eluser]mdavis1982[/eluser]
Hi all...

I am so near to getting my first CI project live it's scary! I just hope it lives up to the expectations I have because the site is going to be pushing some serious bandwidth (it's a redesign of an existing site with eCommerce / Digital Downloads / User Accounts etc).

The final problem I have is with the built-in session class. I need it to automatically log my users out... Either when they close the browser (preferable) or after a set number of minutes (not too bad).

I've done this in the config file:

Code:
$config['sess_expiration']    = 900;

But even after the 15 minutes has lapsed, I still appear to be logged in. How can I achieve what I'm trying to do?

Thanks...

Matt


Messages In This Thread
Session Auto Logout - by El Forum - 02-18-2008, 07:42 AM
Session Auto Logout - by El Forum - 02-18-2008, 09:14 AM
Session Auto Logout - by El Forum - 02-18-2008, 10:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB