<snip> Can I avoid that intermediate step, somehow? When my script logs in the user, how to I write the code that dispatches directly to the home page? </snip>
Have you tried a redirect? http://www.php.net/header <?php header("Location: http://www.example.com/"); /* Redirect browser */ /* Make sure that code below does not get executed when we redirect. */ exit; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php