note 39736 added to function.session-register

From: Date: Mon, 09 Feb 2004 09:38:45 +0000
Subject: note 39736 added to function.session-register
Groups: php.notes 
Request: Send a blank email to php-notes+get-64869@lists.php.net to get a copy of this message
On my webserver (Apache 2.x, php 4.3) with the register_globals set to 'Off' I can still use session_register(). The notes on this page are a bit confusing. I can use session_register('somevar') with no problem, as long as the browser accepts cookies it works without a hitch. I don't know if they mean you cannot use it to set a value to the variable or not, but I have verified that, in fact, all variables are only contained in $_POST or $_GET etc. so I know globals are really off, yet this still works, even though it says it can't be used. ---- Manual Page -- http://www.php.net/manual/en/function.session-register.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39736 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39736&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39736&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64869) next »