> Given $myvar = 5;
>
> If you use session_register('myvar');
>
> Then on another page, do you just access it via $myvar?

That is exactly how it works - I also have session.auto_start turned on as
well.

> And if that's the case, isn't it the same to set
>
> $HTTP_SESSION_VARS['myvar'] = $myvar;
> Or even
> $GLOBALS['myvar'] = $myvar;
> Or
> $_SESSION['myvar'] = $myvar;
>
> Not that ANY of these are working for me *sigh*

As I said - I wouldn't know as I haven't used them yet - but it seems like
it should having read the manual briefly.

> 4.0.6 according to the phpinfo link on the page ;-)

I realised that just after I sent the mail - doh!

Mikey



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to