• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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?


Messages In This Thread
[CI 1.7] Sessions and custom datafields - by El Forum - 10-04-2008, 12:04 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.