Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7838685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:10:43+00:00 2026-06-02T15:10:43+00:00

application uses codeigniter and tank_auth with it. I need to add some more data

  • 0

application uses codeigniter and tank_auth with it. I need to add some more data to add ci_sessions table. I could not find where a data is inserted to ci_sessions. Where it is, in which folder or controller or library?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T15:10:45+00:00Added an answer on June 2, 2026 at 3:10 pm

    I found it: it is in system/libraries/Session.php

    but altering library tank_auth.php sounded better than Session.php

    for similar questions: I changed this

    $this->ci->session->set_userdata(array(
        'user_id'   => $user->id,
        'username'  => $user->username,
        'status'    => ($user->activated == 1) ? STATUS_ACTIVATED : STATUS_NOT_ACTIVATED,
                        ));
    

    to this:

    $this->ci->session->set_userdata(array(
         'user_id'  => $user->id,
         'username' => $user->username,
         'status'   => ($user->activated == 1) ? STATUS_ACTIVATED : STATUS_NOT_ACTIVATED,
         'language'  => $user->language,
                        ));
    

    by adding $user->language with addition to the language column to users table in database.

    the data is still stored in ci_sessions table but in user_data column.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application uses an SQLite database file to hold some data in it. The
My application uses some third-party libraries. I need to log some exceptions that occur
Our application uses Hibernate for ORM, and stores data in several schemas, accessing them
My application uses some session variables that are timing out even though I thought
My application uses MS access database to save some sensitive information. Though that information
Our application uses SQL Server Reporting Services and allows users to add custom filters
Our application uses Hibernate with Sql Server 2005. Being a DBA, I am not
My application uses several threads with well-defined names (i.e. not a thread pool with
Our application uses some jquery selectors to select some elements in the HTML DOM.
My application uses the PersistentStore to store data. The keys of the PersistentStore are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.