Welcome Guest, Not a member yet? Register   Sign In
how to display the blob data of table ci_sessions : resolved :)
#1

(This post was last modified: 09-12-2015, 08:42 AM by casa.)

Hello,
With CI3, we can manage session variables with database, creating a table like this
[SQL]
CREATE TABLE IF NOT EXISTS `ci_sessions` (
       `id` varchar(40) NOT NULL,
       `ip_address` varchar(45) NOT NULL,
       `timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
       `data` blob NOT NULL,
       PRIMARY KEY (id),
       KEY `ci_sessions_timestamp` (`timestamp`)
);
[/SQL]
In documentation, we are column 'data' with type is BLOB.

How do you do to read this data in order to get information session ? It's not a serialize variable or json_encode.

Thanks.
Reply


Messages In This Thread
how to display the blob data of table ci_sessions : resolved :) - by casa - 04-09-2015, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB