note 61294 rejected from ref.session by nlopess

From: Date: Mon, 30 Jan 2006 17:33:56 +0000
Subject: note 61294 rejected from ref.session by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102738@lists.php.net to get a copy of this message
Note Submitter: powerfull_king at hotmail dot com ---- Hi everyone, I am using sessions on my web application. I have tried with a simple code: <?php //session1.php session_start(); $_SESSION[product1] = "Sonic Screwdriver"; $_SESSION[product2] = "HAL 2000"; echo "The products have been registered."; ?> And call the session's variables from another page: <?php //session2.php session_start(); echo "Your chosen products are:"; echo "<ul><li>$_SESSION[product1] <li>$_SESSION[product2]\n</ul>\n"; ?> I uploaded these 2 files on my website and they work fine, but they don't work at home (my production testing server). Is there any thing I need to do in the php.ini? Thanks.

« previous php.notes (#102738) next »