Get Codeigniter "user_id" in another library outside of codeigniter

I was wondering if there is possible to echo
$this->session->userdata('user_id')
outside of the codeigniter library into another php library?
If so, how?

Yes

User id is just an integer.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.