Welcome Guest, Not a member yet? Register   Sign In
Session hook

Good evening. Sorry for my English !
Prompt, whether it is possible what to write in a field "date" in the table "sessions" the useragent ? I wanted to write a widget "Who is online"
CI version - 3.1-stable git.

It's already been down, search google and the forums.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

PHP Code:
$data = [  
'useragent' => $this->agent->agent_string()  
With this I figured out. But still took a class of sessions from CI2
Probably decided.

Theme © iAndrew 2016 - Forum software by © MyBB