Welcome Guest, Not a member yet? Register   Sign In
how to check 'Who is login' in forum using codeigniter
#4

[eluser]TheFuzzy0ne[/eluser]
You're best bet is to log a timestamp to the database every time a logged in user makes a request to your server. The find out who's logged in, you can look for timestamps that are less than say 10 minutes ago, and that should tell you who's logged in. Or, you can set the session to timeout after several hours, and check for timestamps that are less than the current time minus the max session time.

Sorry Dam1an, but the poor guy just wanted an idea, not a library that's been created for him. Tongue


Messages In This Thread
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 01:43 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 01:54 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 01:58 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 05:19 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 05:27 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 06:39 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:10 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:13 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:31 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:41 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:43 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 08:56 AM
how to check 'Who is login' in forum using codeigniter - by El Forum - 05-05-2009, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB