ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

ci_session table

November 09, 2009 6:24am

Subscribe [2]
  • #1 / Nov 09, 2009 6:24am

    ranjitbd

    31 posts

    CREATE TABLE IF NOT EXISTS  `ci_sessions` (
    session_id varchar(40) DEFAULT '0' NOT NULL,
    ip_address varchar(16) DEFAULT '0' NOT NULL,
    user_agent varchar(50) NOT NULL,
    last_activity int(10) unsigned DEFAULT 0 NOT NULL,
    user_data text NOT NULL,
    PRIMARY KEY (session_id)
    );
    
    
    
    // session_id, ip_address, user_agent, last_activity will be save automatically
    // but what will be the user_data? what data i have to save in this field ?
  • #2 / Nov 10, 2009 1:55am

    InsiteFX

    6819 posts

    NONE: If user_data is empty it is saved as a text string, otherwise it is an array of user_data that is saved.

    Enjoy
    InsiteFX

    P.S. This can all be found in the user guide…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases