ID: 33106 Updated by: [EMAIL PROTECTED] Reported By: eswar at cgvakindia dot com -Status: Open +Status: Bogus Bug Type: Session related Operating System: windows 2003 PHP Version: 5.0.4 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: ------------------------------------------------------------------------ [2005-05-23 07:42:48] eswar at cgvakindia dot com It works fine in server machine.But it produces error during the remote host or remote terminals. ------------------------------------------------------------------------ [2005-05-23 07:38:07] eswar at cgvakindia dot com Description: ------------ Dear Sir I changed in php.ini file the auto start for session =1. I also tried by settin auto start=0; I set the session.save_path=c:\\temp; I also created the folder in windows. I am using IIS and windows 2003. Nothing else i had made change. Problem is: I created a two files. One file which is used to write the session and where another file I used to read the session. But i cann't able to read the data in the another file. I identified the bug as. When I write my file in session path it creating one session_id with file name and it stores the data. When i am moving to the next page, i observed that one more session file is created with empty content. So when I try to read the conten in the second page i am not able to read the stored session data. It is saying not defined. I understood that the second page is reading the session data from that empty file. How to short out this problem. Please help me. It is very urgent. Reproduce code: --------------- /*Session is started in server and i also tried by using session_start() and session_register() (/ 1.Write.php <? $_SESSION['test']="foo"; echo $_SESSION['test']; ?> <a href="read.php">read</a> 2.Read.php <? echo $_SESSION['test']; ?> error: Undefined variable test Expected result: ---------------- I want the o/p as "foo" in read.php the echo to print that. But i getting a error message. I tried all the option i don't please help me in this situation. Actual result: -------------- Waring:Undefined variable in read.php 'test' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33106&edit=1