![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/06/2008, 16:33
|
| | Fecha de Ingreso: septiembre-2007
Mensajes: 76
Antigüedad: 17 años, 4 meses Puntos: 2 | |
Respuesta: me cierra la sesion al abrir un popup asi abro el popup es codigo javascript.
var opciones = "toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=1000, height=480, top=50, left=0";
window.open("nuevo_tras.php","",opciones);
y en la pagina nuevo_tras.php empiezo asi
<?php
session_start();
if(!isset($_SESSION['clave']))
{
echo " <script> alert('Debe de inciar una sesion');
window.close(); </script>";
exit;
}
$usuario = $_SESSION['clave'];
y luego pongo el formulario para ingresar un registro |