> Isnt it better to do it in this way?

Better than what?

> session_start();
> session_register('USER');
>
> $USER['valid'] = true;
> $USER['firstname'] = $first_name;
> $USER['lastname'] = $last_name;
>
> Then I really know what I am doing!

It's personal preference... whatever you understand.

I'd recommend just using $_SESSION and keep register_globals OFF, but that's
me.

---John Holmes...


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

Reply via email to