Welcome Guest, Not a member yet? Register   Sign In
[CI 1.7] Sessions and custom datafields
#1

[eluser]Renard Urbain[/eluser]
I am looking forward to use the code igniter as I am going to convert the actual codebase (built with Kohana 2.1).

CodeIgniter since 1.7 SVN seems to be able to use the database as session storage natively.

For my current session table I am using I do have one column that I use to store the user_id of the current user. Therefore I am able to check who is online when I exec my queries. Quite usefull for checking which of the "favs/friends" are online.

Now does CI support adding custom columns with the library or if it is not the case is there a way I can check which users are online ? using a user_id as kind of foreign key?




Theme © iAndrew 2016 - Forum software by © MyBB