$user_session = new \Zend\Session\Container('user'); $user_session->username = 'Andy0708'; // Write to session echo $username = $user_session->userna
$user_session = new \Zend\Session\Container('user');
$user_session->username = 'Andy0708'; // Write to session
echo $username = $user_session->username; // Read from session