Session was destroyed in this way :

session_set_cookie_params(0);
session_start();
session_destroy();