Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Session expiry time question
#1

[eluser]minerbog[/eluser]
Hi Guys,

Sorry if this has been answered before but I did do a search and couldn't find anything relevant.

I am writing an app for a friend of mines business. It required users to login and everything seemed fine during testing. However we have hit a problem that I just cannot seem to get my head round.

The
Code:
$config['sess_expiration']        = 3600;
line sets the expiration of the session, but it seems to be regardless of user activity. Is there a way with CI to get the session expiry updated every time a user performs an action so the session expires after 3600 seconds of no activity??

Hope that made sense!!
Many Thanks.
Gav.


Messages In This Thread
[SOLVED] Session expiry time question - by El Forum - 08-18-2010, 08:00 AM
[SOLVED] Session expiry time question - by El Forum - 08-18-2010, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB