Codice PHP:
session_start();
if(!isset(
$_SESSION['numeri'])) {
  
$_SESSION['numeri'] = array();
}
$_SESSION['numeri'][] = rand(0,100);