Welcome Guest, Not a member yet? Register   Sign In
SESSION:Find current active users in my app???
#4

[eluser]mindprojects[/eluser]
Sorry i mean not "expiration time" but "refresh time":

SELECT *,user_id,last_activity as last FROM ci_sessions WHERE last <= (SELECT last_activity from ci_sessions WHERE last_activity >= (NOW() - refresh_time) ORDER BY last_activity ASC LIMIT 0,1)


Messages In This Thread
SESSION:Find current active users in my app??? - by El Forum - 10-12-2009, 09:13 AM
SESSION:Find current active users in my app??? - by El Forum - 10-12-2009, 11:51 AM
SESSION:Find current active users in my app??? - by El Forum - 10-13-2009, 12:46 AM
SESSION:Find current active users in my app??? - by El Forum - 10-13-2009, 12:47 AM
SESSION:Find current active users in my app??? - by El Forum - 10-13-2009, 09:00 AM
SESSION:Find current active users in my app??? - by El Forum - 10-13-2009, 01:31 PM
SESSION:Find current active users in my app??? - by El Forum - 10-14-2009, 01:26 AM
SESSION:Find current active users in my app??? - by El Forum - 10-14-2009, 11:46 AM
SESSION:Find current active users in my app??? - by El Forum - 10-15-2009, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB