Durante lo svluppo di un applicativo mi sono accorto che perdevo le sessioni e e file di validazione degli utenti della finestra log-on, questo accade quando apro l'applicazione come Pop-Pup mi saprete dire il motivo?
/*var nameMainWindow = '<?= $PHPSESSID ?>'
nameMainWindow = nameMainWindow.replace(/[\/\(\)\'\-\_\,\.\;\"]/g,"");*/
/*ns = (document.layers)? true:false
ie = (document.getElementById)? true:false
if(ie) doc = document;
else if(ns) doc = document;
if(ie) {
H = screen.availHeight -25;
W = screen.availWidth;
}
else if(ns){
H = screen.availHeight -14;
W = screen.availWidth;
}
//impostazione del popup con dimensioni max a 1024*768 o a 800*600
//alert(W)
//alert(H)
if (W >1000){
W = "1024";
H = "709";
}else{
W = "800";
H = "600";
}
dDoc = "php/login.php"
dChar = "menubar=no,width=" +W+ "px,height=" +H+ "px,scrollbars=auto,resizable=yes,status=yes";
if(ie)dChar = dChar+ ",top=0,left=0";
else if(ns)dChar = dChar+ ",screenY=0,screenX=0";
namewin = 'ProtoWebEnt';
window.open(dDoc, namewin, dChar);
doc.forms[0].method="post"
doc.forms[0].target = namewin;
doc.forms[0].action = 'php/index_main.php';*/
nella pagina di index.php non utilizzo codice php. ^-^