无法在php会话中存储2个数组

I have php.ini memory_limit =1000M

I have to store notification in session to make alert, at same time user details also have to be stored in session

notification data is stored in

$notification['content'] = account_update_failed;
$notification['class'] =  'danger';
$_SESSION['notification'] = $notification;

session data is stored in

if($login_query->num_rows > 0){
    $login_row = $login_query->fetch_assoc(); 
    $_SESSION['user'] = $login_row;
}

On both of this session array, only one is transfered when redirecting to another page..

another one is automatically destroyed as well as not shown in next page loadings.. How i set session arrays at this kind of situation?

Notification alert method

  // Notifications Creation 
    if($_SESSION['notification']){
     $content = $_SESSION['notification']['content'];
     $delay = ($_SESSION['notification']['duration'] !=true)?2000:$_SESSION['notification']['duration'];
     $class = ($_SESSION['notification']['class'] !=true)?"info":$_SESSION['notification']['class'];

 echo "<script>$(document).ready(function (){
            $.bootstrapGrowl('".$content."',{
                type: '".$class."',
                delay: ".$delay.",
                offset:{from:'top',amount:250},
                align:'center'
      });   });</script>"; 
}

   unset($_SESSION['notification']);