#41715 [NEW]: the SID is ECHO only the first time any, next i must close Browser

From: Date: Sat, 16 Jun 2007 22:24:10 +0000
Subject: #41715 [NEW]: the SID is ECHO only the first time any, next i must close Browser
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113857@lists.php.net to get a copy of this message
From: lupofede2004 at virgilio dot it Operating system: WINDOWS XP sp2 PHP version: 5.2.3 PHP Bug Type: Session related Bug description: the SID is ECHO only the first time any, next i must close Browser 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 bug report at http://bugs.php.net/?id=41715&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41715&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41715&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41715&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41715&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41715&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41715&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41715&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41715&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41715&r=support Expected behavior: http://bugs.php.net/fix.php?id=41715&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41715&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41715&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41715&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41715&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41715&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41715&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41715&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41715&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41715&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41715&r=mysqlcfg

« previous php.bugs (#113857) next »