quindi se faccio così:
codice:
<body onUnload="parent.NOMEFRAME.location.href = "nomefile.php";">
è sbagliato?