Welcome Guest, Not a member yet? Register   Sign In
PHP read the session of CI3.02
#1

CI:
var_export($_SESSION);

display

array ( '__ci_last_regenerate' => 1446806450, 'group' => 'admin', 'group_user' => 'admin@admin.com', )

===
PHP:
<?php
session_start();
var_export($_SESSION);
?>
display

array ( )



I want to know how to read the session of CI3.02 by PHP.
Confused
Reply
#2

I am not sure why you would need that info but if you are storing sessions in the database, you can just read the session table like any other table.

Hope that helps,

Paul
Reply




Theme © iAndrew 2016 - Forum software by © MyBB