First, change the names of your include files to something.inc.php so that no-one can
download the files and get thte source, should their names become known.
Second, you either must use session_register or $_SESSION['variablename'] and not mix
their use.
So instead of:
$authenticated_user = 71722334;
session_register("authenticated_user");
Use:
$_SESSION['authenticated_user'] = 71722334;
Note that session_register will always start sessions, while using the associated
array $_SESSION won't, so make sure you continue to use session_start() at the top of
every page just as you did here.
Look for tutorials here:
http://www.rci.rutgers.edu/~jfulton/php1/index.html
<http://www.rci.rutgers.edu/~jfulton/php1/index.html>
http://www.newbienetwork.net/ <http://www.newbienetwork.net/>
http://www.thickbook.com/ <http://www.thickbook.com/>
http://www.phpdeveloper.org/ <http://www.phpdeveloper.org/>
http://www.devshed.com/ <http://www.devshed.com/>
http://www.webmonkey.com/ <http://www.webmonkey.com/>
http://www.irc-html.com/ <http://www.irc-html.com/>
http://www.phpbuilder.com/ <http://www.phpbuilder.com/>
http://www.zend.com/ <http://www.zend.com/>
-----Original Message-----
From: Anson Smith [mailto:[EMAIL PROTECTED]]
> Could Someone Explain why I have to submit my first form twice in order to be
>considered authenticated.