This __ci_last_regenerate
is screwing my session. Is there a way of removing this from session array ?
When i set session for user and i print session, the session array is created correctly but its is proceeded by __ci_last_regenerate
. Also when i destroy session the session array has only one element and its that bloody __ci_last_regenerate
.
Session after login :
array(2) {
["__ci_last_regenerate"]=> int(1475532963)
["cb7a1d775e800fd1ee4049f7dca9e041eb9ba083"]=> array(2) {
["id"]=> string(2) "37"
["email"]=> string(19) "admin@admin.com"
}
}
Session after logout (when calling session destroy)
array(1) {
["__ci_last_regenerate"]=> int(1475533350)
}