Perche' evidentemente $_SESSION['msg'] non esiste quando provi a concatenargli quella stringa.