Welcome Guest, Not a member yet? Register   Sign In
Sessions in database - How to retrieve/deserialize user_data items
#7

[eluser]mradlmaier[/eluser]
i dont intend to use session as my "ersatz"/"replacement" user table. I just want a list of currently active sessions. In my book, this is not a very special use case, many sites offer the feature to see currently active users.

The CI Session class somehow reads and writes this data, so why shouldn´t i elegantly try to reuse existing CI code?

In my humble opinion, that would be smart to do. Dont duplicate the same functionality in your code, that is bad programming practise.

But if nobody has an idea where to hook into, i will probably go the native PHP way...


Messages In This Thread
Sessions in database - How to retrieve/deserialize user_data items - by El Forum - 09-19-2009, 04:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB