#41715 [Opn]: the SID is ECHO only the first time, next i must close Browser
| From: | lupofede2004 at virgilio dot it | Date: | Sat, 16 Jun 2007 22:26:00 +0000 |
| Subject: | #41715 [Opn]: 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-113858@lists.php.net to get a copy of this message | ||
ID: 41715
User updated by: lupofede2004 at virgilio dot it
-Summary: the SID is ECHO only the first time any, next i must
close Browser
Reported By: lupofede2004 at virgilio dot it
Status: Open
Bug Type: Session related
Operating System: WINDOWS XP sp2
PHP Version: 5.2.3
New Comment:
not other
Previous Comments:
------------------------------------------------------------------------
[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