#41715 [Opn->Bgs]: the SID is ECHO only the first time, next i must close Browser

From: Date: Sun, 17 Jun 2007 09:34:29 +0000
Subject: #41715 [Opn->Bgs]: the SID is ECHO only the first time, next i must close Browser
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113865@lists.php.net to get a copy of this message
ID: 41715 Updated by: johannes@php.net Reported By: lupofede2004 at virgilio dot it -Status: Open +Status: Bogus Bug Type: Session related Operating System: WINDOWS XP sp2 PHP Version: 5.2.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2007-06-16 22:26:00] lupofede2004 at virgilio dot it not other ------------------------------------------------------------------------ [2007-06-16 22:24:08] lupofede2004 at virgilio dot it Description: ------------ The SID is ECHO only the first time , if i refresh browser or recall a script , the SID can appear NULL, i must close Browser and restart for have a SID, but any time i restart browser i can echo SID only one time. Reproduce code: --------------- <?php session_start(); echo SID ; //$x= SID ;echo $x , "<br>"; //$idsessione=session_name()."=".session_id(); //echo "L'ID di SESSIONE è: $idsessione"; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41715&edit=1

« previous php.bugs (#113865) next »