Maybe this example will help you:

Program 1:

<?php
session_start();
session_register('varA');
session_register('varA');

varA = ....
varB = ...
?>

Program 2:

<?php
session_start();
print("$varA $varB");
?>


Richard


"Jennifer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have been racking my brain with this for hours and I am not
> getting anywhere.
>
> session_register doesn't seem to be registering my variables.
>
> Several questions to see if I am even on the right track.
>
> Do you need to register a variable with the session before you
> assign it a value?
>
> session_register should return true if the variable was
> successfully registered?
>
> The variable name and it's value should be written to the file
> with the same name as session_id()?
>
> Jennifer
>
> --
> 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]

Reply via email to