Reputation: 1489
In my script, CI updates the sessions table on database whenever it changes the session id. The thing is, I need to know that id whenever it changes. Simply I want to record it some different place on the database while keeping the actual recording. How could I do it?
Upvotes: 2
Views: 594
Reputation: 1489
Found my own answer. system/libraries/Session.php line:383 Of course the line number might differ, but if you search the following string, you'll learn where CodeIgniter is changing the session_id on database: 'session_id' => $new_sessid
Upvotes: 1