Welcome Guest, Not a member yet? Register   Sign In
Logged in members..
#3

[eluser]Roy MJ[/eluser]
wow.. this is cool.. I was thinkin nonsense until i read the above.. Adding members to online members table is fine.. But will it be deleted if the user logs out(consider i include the deletion part in the logout controller )? cuz i have had experiences of logout not working properly, if i click back in the browser the session will also trace back..Sad. Also how will i get the visitors ip address when they reach any of my website pages.. Or this is done only for homepage... Will this do?? I just searched it from the user guide..
Code:
$this->input->ip_address();
And im doing this without any form or any kind of submitting thing in the view side except tht someone will be logged in from a particular IP..


Messages In This Thread
Logged in members.. - by El Forum - 04-07-2011, 01:06 AM
Logged in members.. - by El Forum - 04-07-2011, 01:37 AM
Logged in members.. - by El Forum - 04-07-2011, 03:19 AM
Logged in members.. - by El Forum - 04-07-2011, 05:57 AM
Logged in members.. - by El Forum - 04-07-2011, 07:01 AM
Logged in members.. - by El Forum - 04-07-2011, 11:26 AM
Logged in members.. - by El Forum - 04-07-2011, 10:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB