Hello I am doing an address if the session variable is empty or not started session previously works in phalcon 2.013 and php 5 I was wondering if they have changed the functions to version 7.2
<?php
if ($this->session->has("userId")) {
// Retrieve its value
$name = $this->session->get("userId");
} else {
header("Location:" . $this->url->get('inicio/inicio'));
}
?>