On Wednesday, April 3, 2002, at 02:06 PM, R. Lindeman wrote:
> // open session and begin registering values
>
> session_start();
>
> session_register("fubar1");
> session_register("fubar2");
> session_register("fubar3");
>
> $fubar1 = "Remko";
>
> $fubar2 = "Lindeman";
>
> $fubar3 = "I3M1I";
.
.
.
> the problem is that the values don't get registered
If you are using PHP 4.1.x or greater, then try using the following code
to register your sessions -- it is easier and may work better.
<?php
// start the session and register the variables
session_start();
$_SESSION['fubar1'] = 'Remko';
$_SESSION['fubar2'] = 'Lindeman';
$_SESSION['fubar3'] = 'I3M1I';
// (put rest of code here)
?>
If you're using PHP 4.0.x or lower, then nevermind, this won't help you.
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php