[snip]
> function login($username)
>  {
>   global $valid_user;
>   $valid_user = $username;
>   session_register("valid_user");
>  }

It _should_ work. My only guess is that maybe because you're registering
something inside of a function, it's messing up, even though the variable is
global. I don't do it this way, and I prefer register globals off, so I
don't know if that's an issue or not.

---John Holmes...


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

Reply via email to