http://www.php.net/manual/en/function.flush.php
flush -- Flush the output buffer Flushes the output buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This effectively tries to push all the output so far to the user's browser. -- Kind regards, Yuri. >>>> www.AceHoster.com <<<< Quality web hosting "Jan Peuker" <[EMAIL PROTECTED]> ???????/???????? ? ???????? ?????????: 001801c1edfa$be7ca050$7164a8c0@toshiba">news:001801c1edfa$be7ca050$7164a8c0@toshiba... > Hi List, > > my Problem is, on the second line of my script I validate a session. If it's > false, it dies. But in the first line, I require a header(html,body,title > etc.). Now, if a session fails, my die-Message ends in a "<script>"-Part, so > nobody sees it but gets an error by JS. Is there any way to stop parsing PHP > before flushing out required headers? > Thanks, > > Jan >