note 2824 deleted from session_register by ronabop

From: Date: Thu, 17 Aug 2000 08:42:18 +0000
Subject: note 2824 deleted from session_register by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2038@lists.php.net to get a copy of this message
I can't get session vars to work on virtual hosts... why is that? The code looks like this on http://vvv.fobie.net/test.fob &lt;?php session_save_path('/tmp/'); session_register("fob666"); $fob666="testing"; echo "<br>$fob666<br>"; ?> And on the other one, http://sb.kryogen.net/test.fob &lt;?php session_save_path('/tmp/'); session_register("fob666"); echo "<br>$fob666<br>"; ?> What do I need to add to get it to work on both?

« previous php.notes (#2038) next »