From my understanding, as long as you have a session_start() function
above the html tag, you can work with variables in the form
$_SESSION['variableName'] rather than having to use session_register().
In fact, using session_register() is no longer needed at all. Use
$_SESSION['variableName'] the way you would any other variable.
Erik
PS: I'm not speaking definitively, just my own interpretation of the
manual.
On Wednesday, January 23, 2002, at 07:18 PM, Yasuo Ohgaki wrote:
Jeff Sheltren wrote:
What happens if you set register_globals=Off and use
$_SESSION?
Thanks for the reply. I will try changing register_globals to Off. I
am
not quite sure I know what you mean by using $_SESSION though, could
someone
please explain how that is uesd?
Session manaul pages are updated. There is enough explanation how to
use $HTTP_SESSION_VARS/$_SESSION now :)
-- Yasuo Ohgaki
-- PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]