ID: 40964 Updated by: [EMAIL PROTECTED] Reported By: joao at paintbox dot com dot br -Status: Open +Status: Bogus Bug Type: Session related Operating System: Windows 2003 / IIS 6 PHP Version: 5.2.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-03-30 21:57:56] joao at paintbox dot com dot br Description: ------------ I have 2 websites one of them are running in a Linux server with Apache and got NO PROBLEM... the other one is running in a Windows 2003 with IIS 6 and I have a problem. After change a page the values of session variables are lost. I wrote a simple test script but I didn't find a solution, I read lots of articles along the internet but dind't find a solution: teste_Sessao.php <? session_start(); $idsession = session_id(); $_SESSION['usracesso'] = 123; $usracesso2 = 456; session_register('usracesso2'); // note that I try both ways to register $usr = $_SESSION['usracesso']; echo "SessionID: ".$idsession."<br>"; echo "User: ".$usr."<br>"; echo "User2: ".$usracesso2."<br>"; // making a link to the other page echo "<a href=teste_sessao2.php?PHPSESSID=".$idsession.">teste_sessao2.php?PHPSESSID=".$idsession."</a>"; ?> teste_sessao2.php <? session_start(); $idsession = session_id(); $usr = $_SESSION['usracesso']; $usr2 = $_SESSION['usracesso2']; echo "SessionID: ".$idsession."<br>"; echo "User: ".$usr."<br>"; echo "User2: ".$usr2."<br>"; ?> I have no problem to get SessionID value but the others variables (usr and usr2) lost their values. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40964&edit=1