the error is caused by the blank line be=tween php code blocks at line 2:
<?php session_start(); ?>
<?php
be careful of blanks line between php code blocks.
can you send a copy of your login page, so i can see how that is set up.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.