hai provato senza doppi apici?

Codice PHP:
foreach($row_p as $var => $val)   $_SESSION[$var] = $val